Merge topic 'FindJPEG-new-windows-name'
115811dc
FindJPEG: Add alternative name 'libjpeg'
This commit is contained in:
commit
2e8a5ac31f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue