diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-23 09:49:52 -0400 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-23 09:49:52 -0400 |
commit | 13db5b578ba81a72461e6d08a3b86ea698a7a0a0 (patch) | |
tree | 3bae5b3bf68b79788347c8ac00261cfcafc319b7 /Modules/FindJPEG.cmake | |
parent | dddbad259c5d497987cbb367ce184f3953f2f137 (diff) | |
download | cmake-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/FindJPEG.cmake')
-rw-r--r-- | Modules/FindJPEG.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake index 2fd5f0ecce..3692ee1eb4 100644 --- a/Modules/FindJPEG.cmake +++ b/Modules/FindJPEG.cmake @@ -15,7 +15,7 @@ FIND_LIBRARY(JPEG_LIBRARY NAMES ${JPEG_NAMES} ) # handle the QUIETLY and REQUIRED arguments and set JPEG_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(JPEG JPEG_LIBRARY JPEG_INCLUDE_DIR) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(JPEG DEFAULT_MSG JPEG_LIBRARY JPEG_INCLUDE_DIR) IF(JPEG_FOUND) SET(JPEG_LIBRARIES ${JPEG_LIBRARY}) |