summaryrefslogtreecommitdiff
path: root/Modules/FindEXPAT.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-23 09:49:52 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-07-23 09:49:52 -0400
commit13db5b578ba81a72461e6d08a3b86ea698a7a0a0 (patch)
tree3bae5b3bf68b79788347c8ac00261cfcafc319b7 /Modules/FindEXPAT.cmake
parentdddbad259c5d497987cbb367ce184f3953f2f137 (diff)
downloadcmake-13db5b578ba81a72461e6d08a3b86ea698a7a0a0.tar.gz
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/FindEXPAT.cmake')
-rw-r--r--Modules/FindEXPAT.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindEXPAT.cmake b/Modules/FindEXPAT.cmake
index d0879667d4..69c22005b1 100644
--- a/Modules/FindEXPAT.cmake
+++ b/Modules/FindEXPAT.cmake
@@ -14,7 +14,7 @@ FIND_LIBRARY(EXPAT_LIBRARY NAMES expat)
# handle the QUIETLY and REQUIRED arguments and set EXPAT_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT EXPAT_LIBRARY EXPAT_INCLUDE_PATH)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(EXPAT DEFAULT_MSG EXPAT_LIBRARY EXPAT_INCLUDE_PATH)
# Copy the results to the output variables.
IF(EXPAT_FOUND)