summaryrefslogtreecommitdiffstats
path: root/Modules/FindJasper.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-23 13:49:52 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-23 13:49:52 (GMT)
commit13db5b578ba81a72461e6d08a3b86ea698a7a0a0 (patch)
tree3bae5b3bf68b79788347c8ac00261cfcafc319b7 /Modules/FindJasper.cmake
parentdddbad259c5d497987cbb367ce184f3953f2f137 (diff)
downloadCMake-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/FindJasper.cmake')
-rw-r--r--Modules/FindJasper.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJasper.cmake b/Modules/FindJasper.cmake
index 0243ce7..d83fe7b 100644
--- a/Modules/FindJasper.cmake
+++ b/Modules/FindJasper.cmake
@@ -29,7 +29,7 @@ ENDIF (JASPER_INCLUDE_DIR AND JASPER_LIBRARY AND JPEG_LIBRARIES)
# handle the QUIETLY and REQUIRED arguments and set JASPER_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(Jasper JASPER_LIBRARY JASPER_INCLUDE_DIR JPEG_LIBRARIES)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Jasper DEFAULT_MSG JASPER_LIBRARY JASPER_INCLUDE_DIR JPEG_LIBRARIES)
IF (JASPER_FOUND)
SET(JASPER_LIBRARIES ${JASPER_LIBRARY} ${JPEG_LIBRARIES} )