From cbff13d2f284780b9c4b5f1dc4cf927d72be0a7f Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Mon, 16 Dec 2024 17:07:26 +0000 Subject: [PATCH] fix(build): remove zlib and openssl requirements from cpp-httplib Signed-off-by: Luca Guerra --- cmake/modules/cpp-httplib.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/modules/cpp-httplib.cmake b/cmake/modules/cpp-httplib.cmake index 3af5cf8a09f..b4ad87ffae8 100644 --- a/cmake/modules/cpp-httplib.cmake +++ b/cmake/modules/cpp-httplib.cmake @@ -18,6 +18,10 @@ option(USE_BUNDLED_CPPHTTPLIB "Enable building of the bundled cpp-httplib" ${USE if(USE_BUNDLED_CPPHTTPLIB) set(HTTPLIB_USE_BROTLI_IF_AVAILABLE OFF) set(HTTPLIB_REQUIRE_BROTLI OFF) + set(HTTPLIB_USE_ZLIB_IF_AVAILABLE OFF) + set(HTTPLIB_REQUIRE_ZLIB OFF) + set(HTTPLIB_USE_OPENSSL_IF_AVAILABLE OFF) + set(HTTPLIB_REQUIRE_OPENSSL OFF) include(FetchContent) FetchContent_Declare( cpp-httplib