diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2016-11-24 11:26:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-28 21:31:04 (GMT) |
commit | d3f9f5120c05e4756d7ee1ed81917f74583455a2 (patch) | |
tree | 524d2c255a57f5f95e3733cf87637cf193cda437 /Modules/FindDevIL.cmake | |
parent | 129c21d260af045b0a9ef16921303c5b37885192 (diff) | |
download | CMake-d3f9f5120c05e4756d7ee1ed81917f74583455a2.zip CMake-d3f9f5120c05e4756d7ee1ed81917f74583455a2.tar.gz CMake-d3f9f5120c05e4756d7ee1ed81917f74583455a2.tar.bz2 |
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 dc8e38a..4b6128b 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) |