diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2016-11-24 12:26:56 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-28 16:31:04 -0500 |
commit | d3f9f5120c05e4756d7ee1ed81917f74583455a2 (patch) | |
tree | 524d2c255a57f5f95e3733cf87637cf193cda437 /Modules/FindDevIL.cmake | |
parent | 129c21d260af045b0a9ef16921303c5b37885192 (diff) | |
download | cmake-d3f9f5120c05e4756d7ee1ed81917f74583455a2.tar.gz |
FindDevIL: fail properly when library is not found.
Due to a mismatch between module name and name passed to FPHSA() the
macro printed an error message but the error was not caught up by CMake.
Fix the typo.
Diffstat (limited to 'Modules/FindDevIL.cmake')
-rw-r--r-- | Modules/FindDevIL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindDevIL.cmake b/Modules/FindDevIL.cmake index dc8e38a39b..4b6128b6c6 100644 --- a/Modules/FindDevIL.cmake +++ b/Modules/FindDevIL.cmake @@ -67,6 +67,6 @@ find_library(ILU_LIBRARIES #message("ILU_LIBRARIES is ${ILU_LIBRARIES}") -FIND_PACKAGE_HANDLE_STANDARD_ARGS(IL DEFAULT_MSG +FIND_PACKAGE_HANDLE_STANDARD_ARGS(DevIL DEFAULT_MSG IL_LIBRARIES ILU_LIBRARIES ILUT_LIBRARIES IL_INCLUDE_DIR) |