We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c2bc73 commit aa16561Copy full SHA for aa16561
src/cpp/CMakeLists.txt
@@ -48,6 +48,14 @@ set(JSON_Install OFF CACHE INTERNAL "")
48
set(CLI11_BUILD_TESTS OFF CACHE INTERNAL "")
49
set(CLI11_BUILD_EXAMPLES OFF CACHE INTERNAL "")
50
51
+# Disable OpenSSL in cpp-httplib (not needed for localhost HTTP server)
52
+# All HTTPS downloads are handled by libcurl with native SSL backends:
53
+# - Windows: Schannel (native)
54
+# - macOS: SecureTransport (native)
55
+# - Linux: OpenSSL (system library, not bundled)
56
+set(HTTPLIB_USE_OPENSSL_IF_AVAILABLE OFF CACHE BOOL "" FORCE)
57
+set(HTTPLIB_REQUIRE_OPENSSL OFF CACHE BOOL "" FORCE)
58
+
59
# cpp-httplib (MIT License)
60
FetchContent_Declare(httplib
61
GIT_REPOSITORY https://github.com/yhirose/cpp-httplib.git
0 commit comments