diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-23 13:49:52 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-23 13:49:52 (GMT) |
commit | 13db5b578ba81a72461e6d08a3b86ea698a7a0a0 (patch) | |
tree | 3bae5b3bf68b79788347c8ac00261cfcafc319b7 /Modules/FindLibXml2.cmake | |
parent | dddbad259c5d497987cbb367ce184f3953f2f137 (diff) | |
download | CMake-13db5b578ba81a72461e6d08a3b86ea698a7a0a0.zip CMake-13db5b578ba81a72461e6d08a3b86ea698a7a0a0.tar.gz CMake-13db5b578ba81a72461e6d08a3b86ea698a7a0a0.tar.bz2 |
ENH: add second failure message parameter to
FIND_PACKAGE_HANDLE_STANDARD_ARGS(), so cmake modules can specify their own
better failure messages. If the default is ok use "DEFAULT_MSG".
Do this also for FindBoost.cmake (#5349)
Alex
Diffstat (limited to 'Modules/FindLibXml2.cmake')
-rw-r--r-- | Modules/FindLibXml2.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake index 93507e6..0de0586 100644 --- a/Modules/FindLibXml2.cmake +++ b/Modules/FindLibXml2.cmake @@ -40,7 +40,7 @@ INCLUDE(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set LIBXML2_FOUND to TRUE if # all listed variables are TRUE -FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) MARK_AS_ADVANCED(LIBXML2_INCLUDE_DIR LIBXML2_LIBRARIES) |