Restore ZLIB_LIBRARIES_FLAGS, used for .pc files

This commit is contained in:
Urs Fleisch 2023-11-12 15:58:48 +01:00
parent c083d7ce15
commit 16326b2479

View File

@ -106,6 +106,9 @@ option(WITH_ZLIB "Build with ZLIB" ON)
if(WITH_ZLIB)
find_package("ZLIB")
set(HAVE_ZLIB ${ZLIB_FOUND})
if(ZLIB_FOUND)
set(ZLIB_LIBRARIES_FLAGS -lz)
endif()
endif()
if(NOT WIN32)