diff options
author | Andrey Karpov <ndk@yandex.ru> | 2018-06-20 09:35:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-21 14:47:03 (GMT) |
commit | 7876f329a95c361bae2805ad8117e62f4e0b65e1 (patch) | |
tree | 4f647582527c67db6922516b4c3f7854388f6ffb /Modules/FindJPEG.cmake | |
parent | ef5e2e8a62982ebccf4883fc7a01cdb66f8ca183 (diff) | |
download | CMake-7876f329a95c361bae2805ad8117e62f4e0b65e1.zip CMake-7876f329a95c361bae2805ad8117e62f4e0b65e1.tar.gz CMake-7876f329a95c361bae2805ad8117e62f4e0b65e1.tar.bz2 |
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.
Diffstat (limited to 'Modules/FindJPEG.cmake')
-rw-r--r-- | Modules/FindJPEG.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake index 61a2213..710188e 100644 --- a/Modules/FindJPEG.cmake +++ b/Modules/FindJPEG.cmake @@ -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() |