fix android builds (missing zstd) by disabling zstd

This commit is contained in:
Green Sky
2025-08-17 16:47:16 +02:00
parent 39f714394b
commit a0d28fb516
2 changed files with 4 additions and 1 deletions

View File

@@ -51,6 +51,9 @@ endif()
#endif()
if (NOT TARGET httplib::httplib)
# fails on android
set(HTTPLIB_USE_ZSTD_IF_AVAILABLE OFF CACHE BOOL "" FORCE)
FetchContent_Declare(httplib
GIT_REPOSITORY https://github.com/yhirose/cpp-httplib.git
GIT_TAG v0.22.0