summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-29 13:59:17 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-29 13:59:17 (GMT)
commit9e8f74fbb0148f6aa0a026b8610da6d84bbf0366 (patch)
tree91957d6250350f84445a767489fae190e37ea805
parent2ee5eac3668ebdcb6dc19c95eaadf3a4b120202b (diff)
parent7abb12c826cad6e5847c32d4769c076732581901 (diff)
downloadCMake-9e8f74fbb0148f6aa0a026b8610da6d84bbf0366.zip
CMake-9e8f74fbb0148f6aa0a026b8610da6d84bbf0366.tar.gz
CMake-9e8f74fbb0148f6aa0a026b8610da6d84bbf0366.tar.bz2
Merge topic 'FindDevIL-updates'
7abb12c8 FindDevIL: Make the ILUT library optional d3f9f512 FindDevIL: fail properly when library is not found.
-rw-r--r--Modules/FindDevIL.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindDevIL.cmake b/Modules/FindDevIL.cmake
index dc8e38a..45fab82 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)
+ IL_INCLUDE_DIR)