diff options
author | Sibi Siddharthan <sibisiddharthan.github@gmail.com> | 2020-07-01 19:10:09 (GMT) |
---|---|---|
committer | Sibi Siddharthan <sibisiddharthan.github@gmail.com> | 2020-07-01 19:10:09 (GMT) |
commit | 9d2c119ff5558c5c9d10b9d27b02c81e28c070f8 (patch) | |
tree | 2a0cbe3851b20fb7b0c91db5e38c4fbfb763fb92 /Modules | |
parent | a2a1d5a0389f39abe2da0aa7b2a44fd83b990dfb (diff) | |
download | CMake-9d2c119ff5558c5c9d10b9d27b02c81e28c070f8.zip CMake-9d2c119ff5558c5c9d10b9d27b02c81e28c070f8.tar.gz CMake-9d2c119ff5558c5c9d10b9d27b02c81e28c070f8.tar.bz2 |
FindJPEG use NAMES_PER_DIR
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindJPEG.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake index 0bb6989..632fc9a 100644 --- a/Modules/FindJPEG.cmake +++ b/Modules/FindJPEG.cmake @@ -58,8 +58,8 @@ foreach(name ${jpeg_names}) endforeach() if(NOT JPEG_LIBRARY) - find_library(JPEG_LIBRARY_RELEASE NAMES ${jpeg_names}) - find_library(JPEG_LIBRARY_DEBUG NAMES ${jpeg_names_debug}) + find_library(JPEG_LIBRARY_RELEASE NAMES ${jpeg_names} NAMES_PER_DIR) + find_library(JPEG_LIBRARY_DEBUG NAMES ${jpeg_names_debug} NAMES_PER_DIR) include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(JPEG) mark_as_advanced(JPEG_LIBRARY_RELEASE JPEG_LIBRARY_DEBUG) |