diff options
author | Brad King <brad.king@kitware.com> | 2017-05-16 13:47:43 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-05-16 13:47:50 (GMT) |
commit | 46f48467c5177d0dc6e99b03447ba8c813108f35 (patch) | |
tree | b3faa15b557100b04d689982f599f5c8238ba81c /Modules/FindDevIL.cmake | |
parent | 1867856f6adb5d9743cfa28e7b10809e23dd0d51 (diff) | |
parent | e8f0385f41e75d98b6d3f14f785747c2decb1cd4 (diff) | |
download | CMake-46f48467c5177d0dc6e99b03447ba8c813108f35.zip CMake-46f48467c5177d0dc6e99b03447ba8c813108f35.tar.gz CMake-46f48467c5177d0dc6e99b03447ba8c813108f35.tar.bz2 |
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.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindDevIL.cmake b/Modules/FindDevIL.cmake index 4b868a2..f6c8e3f 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}) |