Skip to content

Commit 6d425c5

Browse files
zlib
1 parent a29d2f8 commit 6d425c5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ elseif (APPLE)
338338
set(CURL_DEFAULT_SSL_BACKEND "openssl")
339339
set(CURL_USE_LIBPSL OFF CACHE BOOL "" FORCE)
340340
set(CURL_USE_LIBIDN2 OFF CACHE BOOL "" FORCE)
341+
# Use system zlib on macOS to avoid target conflicts
342+
set(CURL_ZLIB OFF CACHE BOOL "" FORCE)
341343
else()
342344
set(CURL_USE_GNUTLS ON CACHE BOOL "" FORCE)
343345
set(CURL_DEFAULT_SSL_BACKEND "gnutls")

0 commit comments

Comments
 (0)