From 072e5b41369b17a57ea2a9cfb5089dbc91591e2d Mon Sep 17 00:00:00 2001 From: Christopher Woyak Date: Tue, 17 Sep 2024 17:08:27 -0500 Subject: [PATCH] Attempt to support zlib with debug postfix --- libqpdf/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libqpdf/CMakeLists.txt b/libqpdf/CMakeLists.txt index 019df7fc..50ada141 100644 --- a/libqpdf/CMakeLists.txt +++ b/libqpdf/CMakeLists.txt @@ -158,7 +158,7 @@ if(NOT EXTERNAL_LIBS) list(APPEND dep_link_libraries ${pc_zlib_LIBRARIES}) else() 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) list(APPEND dep_include_directories ${ZLIB_H_PATH}) list(APPEND dep_link_libraries ${ZLIB_LIB_PATH})