mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
FindJPEG: Search for 'turbojpeg' and 'turbojpeg-static' too
This commit is contained in:
committed by
Brad King
parent
ce874fbcd6
commit
74cc2e3326
@@ -58,7 +58,7 @@ Obsolete variables
|
||||
|
||||
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 turbojpeg turbojpeg-static)
|
||||
foreach(name ${jpeg_names})
|
||||
list(APPEND jpeg_names_debug "${name}d")
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user