summaryrefslogtreecommitdiff
path: root/Modules/FindDevIL.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-16 13:47:43 +0000
committerKitware Robot <kwrobot@kitware.com>2017-05-16 09:47:50 -0400
commit46f48467c5177d0dc6e99b03447ba8c813108f35 (patch)
treeb3faa15b557100b04d689982f599f5c8238ba81c /Modules/FindDevIL.cmake
parent1867856f6adb5d9743cfa28e7b10809e23dd0d51 (diff)
parente8f0385f41e75d98b6d3f14f785747c2decb1cd4 (diff)
downloadcmake-46f48467c5177d0dc6e99b03447ba8c813108f35.tar.gz
Merge topic 'FindDevIL-compat'
e8f0385f FindDevIL: Restore IL_FOUND result variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !845
Diffstat (limited to 'Modules/FindDevIL.cmake')
-rw-r--r--Modules/FindDevIL.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindDevIL.cmake b/Modules/FindDevIL.cmake
index 4b868a25cf..f6c8e3f241 100644
--- a/Modules/FindDevIL.cmake
+++ b/Modules/FindDevIL.cmake
@@ -25,7 +25,7 @@
# library interfaces with OpenGL. It is not strictly needed
# in applications.
# IL_INCLUDE_DIR - where to find the il.h, ilu.h and ilut.h files.
-# IL_FOUND - this is set to TRUE if all the above variables were set.
+# DevIL_FOUND - this is set to TRUE if all the above variables were set.
# This will be set to false if ILU or ILUT are not found,
# even if they are not needed. In most systems, if one
# library is found all the others are as well. That's the
@@ -70,3 +70,5 @@ find_library(ILU_LIBRARIES
FIND_PACKAGE_HANDLE_STANDARD_ARGS(DevIL DEFAULT_MSG
IL_LIBRARIES ILU_LIBRARIES
IL_INCLUDE_DIR)
+# provide legacy variable for compatiblity
+set(IL_FOUND ${DevIL_FOUND})