diff options
author | Brad King <brad.king@kitware.com> | 2017-05-15 13:56:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-15 13:57:03 (GMT) |
commit | 6bcb198023fbf02361b110b384bcd2c168dc6e51 (patch) | |
tree | 15fbdb6a54701367ea7dbd0cb9e664a882c5fcf3 | |
parent | 8bd6af0d6386d1e0b26ff594b7d42621d67b5985 (diff) | |
parent | e8f0385f41e75d98b6d3f14f785747c2decb1cd4 (diff) | |
download | CMake-6bcb198023fbf02361b110b384bcd2c168dc6e51.zip CMake-6bcb198023fbf02361b110b384bcd2c168dc6e51.tar.gz CMake-6bcb198023fbf02361b110b384bcd2c168dc6e51.tar.bz2 |
Merge branch 'FindDevIL-compat' into release
-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 45fab82..7d43482 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}) |