From d2198dbb678b078796d7f1812fea2f0cdbfb98e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Thu, 1 Jan 2026 22:26:53 +0100 Subject: [PATCH] cURL: Actually disable ZLIB/ZSTD cURL tries to find ZSTD anyways due to the lack of setting it in CACHE, and for both ZLIB and ZSTD if we had done find_package previously, cURL would still use ZLIB/ZSTD regardless of the set variable. --- Externals/curl/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Externals/curl/CMakeLists.txt b/Externals/curl/CMakeLists.txt index 55f010fb15..a391aab603 100644 --- a/Externals/curl/CMakeLists.txt +++ b/Externals/curl/CMakeLists.txt @@ -13,7 +13,9 @@ set(HTTP_ONLY ON) set(CURL_USE_LIBPSL OFF) set(CURL_USE_LIBSSH2 OFF) set(CURL_ZLIB OFF CACHE BOOL "" FORCE) -set(CURL_ZSTD OFF) +set(CURL_ZSTD OFF CACHE BOOL "" FORCE) +set(ZLIB_FOUND FALSE) # TODO: Remove once we update to cURL >=8.17.1 https://github.com/curl/curl/pull/20147 +set(ZSTD_FOUND FALSE) # TODO: Same as above set(USE_LIBIDN2 OFF) set(USE_NGHTTP2 OFF)