diff options
| author | Joshua Vandaƫle <joshua@vandaele.software> | 2026-01-01 22:26:53 +0100 |
|---|---|---|
| committer | OatmealDome <julian@oatmealdome.me> | 2026-03-17 17:29:14 -0400 |
| commit | d2198dbb678b078796d7f1812fea2f0cdbfb98e3 (patch) | |
| tree | 625d912976d62292cfb625bad09bada8b4eeb53b | |
| parent | b66d9b707f1ef7b054f1c5e46e9446b4cce3d472 (diff) | |
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.
| -rw-r--r-- | Externals/curl/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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) |
