Commit 7876f329 authored by Andrey Karpov's avatar Andrey Karpov Committed by Brad King

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.
parent ef5e2e8a
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment