Commit 072e5b41369b17a57ea2a9cfb5089dbc91591e2d

Authored by Christopher Woyak
1 parent 0b4610ed

Attempt to support zlib with debug postfix

Showing 1 changed file with 1 additions and 1 deletions
libqpdf/CMakeLists.txt
... ... @@ -158,7 +158,7 @@ if(NOT EXTERNAL_LIBS)
158 158 list(APPEND dep_link_libraries ${pc_zlib_LIBRARIES})
159 159 else()
160 160 find_path(ZLIB_H_PATH zlib.h)
161   - find_library(ZLIB_LIB_PATH NAMES z zlib)
  161 + find_library(ZLIB_LIB_PATH NAMES z zd zlib zlibd)
162 162 if(ZLIB_H_PATH AND ZLIB_LIB_PATH)
163 163 list(APPEND dep_include_directories ${ZLIB_H_PATH})
164 164 list(APPEND dep_link_libraries ${ZLIB_LIB_PATH})
... ...