Commit 072e5b41369b17a57ea2a9cfb5089dbc91591e2d
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,7 +158,7 @@ if(NOT EXTERNAL_LIBS) | ||
| 158 | list(APPEND dep_link_libraries ${pc_zlib_LIBRARIES}) | 158 | list(APPEND dep_link_libraries ${pc_zlib_LIBRARIES}) |
| 159 | else() | 159 | else() |
| 160 | find_path(ZLIB_H_PATH zlib.h) | 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 | if(ZLIB_H_PATH AND ZLIB_LIB_PATH) | 162 | if(ZLIB_H_PATH AND ZLIB_LIB_PATH) |
| 163 | list(APPEND dep_include_directories ${ZLIB_H_PATH}) | 163 | list(APPEND dep_include_directories ${ZLIB_H_PATH}) |
| 164 | list(APPEND dep_link_libraries ${ZLIB_LIB_PATH}) | 164 | list(APPEND dep_link_libraries ${ZLIB_LIB_PATH}) |