mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05: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)
|
find_path(JPEG_INCLUDE_DIR jpeglib.h)
|
||||||
|
|
||||||
set(jpeg_names ${JPEG_NAMES} jpeg jpeg-static libjpeg libjpeg-static)
|
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")
|
list(APPEND jpeg_names_debug "${name}d")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user