Skip to content

Commit

Permalink
fix(build): remove zlib and openssl requirements from cpp-httplib
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <[email protected]>
  • Loading branch information
LucaGuerra committed Dec 16, 2024
1 parent 643d413 commit cbff13d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/modules/cpp-httplib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbff13d

Please sign in to comment.