mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-11 03:50:43 -05:00
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.
This commit is contained in:
committed by
Brad King
parent
129c21d260
commit
d3f9f5120c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user