summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-09 11:48:55 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-09 11:49:12 (GMT)
commit0de1f1503bfdc990a7e6f62e6b486c872838e85d (patch)
tree7d15d0c7a5b6547c2992d402c6a577aa682a3fe7 /Modules
parentd2419c4132a18ccebdb7231965a59598e17750d8 (diff)
downloadCMake-0de1f1503bfdc990a7e6f62e6b486c872838e85d.zip
CMake-0de1f1503bfdc990a7e6f62e6b486c872838e85d.tar.gz
CMake-0de1f1503bfdc990a7e6f62e6b486c872838e85d.tar.bz2
FindJPEG: Revert "Search for 'turbojpeg' and 'turbojpeg-static' too"
Revert commit 74cc2e3326 (FindJPEG: Search for 'turbojpeg' and 'turbojpeg-static' too, 2021-01-09, v3.20.0-rc1~176^2) pending further investigation. The "turbo" variants are not drop-in replacements on all platforms. Fixes: #22333
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJPEG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake
index add2486..3f243de 100644
--- a/Modules/FindJPEG.cmake
+++ b/Modules/FindJPEG.cmake
@@ -58,7 +58,7 @@ Obsolete variables
find_path(JPEG_INCLUDE_DIR jpeglib.h)
-set(jpeg_names ${JPEG_NAMES} jpeg jpeg-static libjpeg libjpeg-static turbojpeg turbojpeg-static)
+set(jpeg_names ${JPEG_NAMES} jpeg jpeg-static libjpeg libjpeg-static)
foreach(name ${jpeg_names})
list(APPEND jpeg_names_debug "${name}d")
endforeach()