cm: zlib::zlib pc_modules

This commit is contained in:
Viktor Szakats 2025-03-27 01:59:15 +01:00
parent a8a0f869b7
commit fb4b207f7e
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -944,7 +944,7 @@ if(ZLIB_FOUND)
# Depend on ZLIB via imported targets. This allows our dependents to
# get our dependencies transitively.
list(APPEND CURL_LIBS ZLIB::ZLIB)
list(APPEND LIBCURL_PC_REQUIRES_PRIVATE "zlib")
set_target_properties(ZLIB::ZLIB PROPERTIES LIBCURL_PC_MODULES "zlib")
endif()
set(HAVE_BROTLI OFF)