Merge branch 'w_adjust-deflate_names' into 'master'
Set 'deflate' to DEFLATE_NAMES, instead of 'libdeflate' See merge request libtiff/libtiff!174
This commit is contained in:
commit
7ec02eaa81
@ -464,7 +464,7 @@ option(libdeflate "use libdeflate (optional for faster Deflate support, still re
|
|||||||
if (libdeflate)
|
if (libdeflate)
|
||||||
set(DEFLATE_FOUND 0)
|
set(DEFLATE_FOUND 0)
|
||||||
find_path(DEFLATE_INCLUDE_DIR libdeflate.h)
|
find_path(DEFLATE_INCLUDE_DIR libdeflate.h)
|
||||||
set(DEFLATE_NAMES ${DEFLATE_NAMES} libdeflate)
|
set(DEFLATE_NAMES ${DEFLATE_NAMES} deflate)
|
||||||
find_library(DEFLATE_LIBRARY NAMES ${DEFLATE_NAMES})
|
find_library(DEFLATE_LIBRARY NAMES ${DEFLATE_NAMES})
|
||||||
if (DEFLATE_INCLUDE_DIR AND DEFLATE_LIBRARY)
|
if (DEFLATE_INCLUDE_DIR AND DEFLATE_LIBRARY)
|
||||||
set(DEFLATE_FOUND 1)
|
set(DEFLATE_FOUND 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user