Merge topic 'FindJPEG-new-windows-name'

115811dc FindJPEG: Add alternative name 'libjpeg'
This commit is contained in:
Brad King 2014-06-30 14:50:31 -04:00 committed by CMake Topic Stage
commit 2e8a5ac31f
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
find_path(JPEG_INCLUDE_DIR jpeglib.h)
set(JPEG_NAMES ${JPEG_NAMES} jpeg)
set(JPEG_NAMES ${JPEG_NAMES} jpeg libjpeg)
find_library(JPEG_LIBRARY NAMES ${JPEG_NAMES} )
# handle the QUIETLY and REQUIRED arguments and set JPEG_FOUND to TRUE if