mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
FindJPEG: Add forgotten names of libraries for Debug configuration
The change in commit v3.12.0-rc1~202^2~1 (FindJPEG: Add multi config support and associated docs, 2018-04-17) accidentally left out the default jpeg library names from consideration for debug variants.
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
find_path(JPEG_INCLUDE_DIR jpeglib.h)
|
||||
|
||||
set(jpeg_names ${JPEG_NAMES} jpeg jpeg-static libjpeg libjpeg-static)
|
||||
foreach(name ${JPEG_NAMES})
|
||||
foreach(name ${jpeg_names})
|
||||
list(APPEND jpeg_names_debug "${name}d")
|
||||
endforeach()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user