mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
Attempt to support zlib with debug postfix
This commit is contained in:
parent
0b4610ed8c
commit
072e5b4136
@ -158,7 +158,7 @@ if(NOT EXTERNAL_LIBS)
|
|||||||
list(APPEND dep_link_libraries ${pc_zlib_LIBRARIES})
|
list(APPEND dep_link_libraries ${pc_zlib_LIBRARIES})
|
||||||
else()
|
else()
|
||||||
find_path(ZLIB_H_PATH zlib.h)
|
find_path(ZLIB_H_PATH zlib.h)
|
||||||
find_library(ZLIB_LIB_PATH NAMES z zlib)
|
find_library(ZLIB_LIB_PATH NAMES z zd zlib zlibd)
|
||||||
if(ZLIB_H_PATH AND ZLIB_LIB_PATH)
|
if(ZLIB_H_PATH AND ZLIB_LIB_PATH)
|
||||||
list(APPEND dep_include_directories ${ZLIB_H_PATH})
|
list(APPEND dep_include_directories ${ZLIB_H_PATH})
|
||||||
list(APPEND dep_link_libraries ${ZLIB_LIB_PATH})
|
list(APPEND dep_link_libraries ${ZLIB_LIB_PATH})
|
||||||
|
Loading…
Reference in New Issue
Block a user