FindJPEG: Search for 'turbojpeg' and 'turbojpeg-static' too

This commit is contained in:
Miguel Medalha
2021-01-09 04:23:08 -05:00
committed by Brad King
parent ce874fbcd6
commit 74cc2e3326

View File

@@ -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()