fix(cmake,docker): avoid cpp-httplib requiring brotli.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
Federico Di Pierro
2024-11-06 17:38:06 +01:00
committed by poiana
parent edf36c0724
commit 0a8526dd7b
2 changed files with 3 additions and 9 deletions

View File

@@ -16,6 +16,8 @@
option(USE_BUNDLED_CPPHTTPLIB "Enable building of the bundled cpp-httplib" ${USE_BUNDLED_DEPS})
if(USE_BUNDLED_CPPHTTPLIB)
set(HTTPLIB_USE_BROTLI_IF_AVAILABLE OFF)
set(HTTPLIB_REQUIRE_BROTLI OFF)
include(FetchContent)
FetchContent_Declare(
cpp-httplib