2
1
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:
Christopher Woyak 2024-09-17 17:08:27 -05:00
parent 0b4610ed8c
commit 072e5b4136

View File

@ -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})