Browse Source

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
Brad King 4 years ago
parent
commit
0de1f1503b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindJPEG.cmake

+ 1 - 1
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()