vendor: split httplib to cpp/h files (#17150)

* vendor: split httplib to cpp/h files

* move defines

* include httplib if curl is not used

* add TODO

* fix build ios

* fix build visionos instead
This commit is contained in:
Xuan-Son Nguyen
2025-11-11 13:32:58 +01:00
committed by GitHub
parent ca4844062b
commit 1d45b4228f
8 changed files with 8275 additions and 9777 deletions

View File

@@ -200,6 +200,7 @@ endif()
if (LLAMA_BUILD_COMMON)
add_subdirectory(common)
add_subdirectory(vendor/cpp-httplib)
endif()
if (LLAMA_BUILD_COMMON AND LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION)