Revert "Removed web service reminiscents" in preparation to fix multiplayer lobby list

This reverts commit ffc907460f.
This commit is contained in:
spectranator
2024-06-30 16:54:56 +02:00
parent cc81504195
commit 39af5e51ff
16 changed files with 196 additions and 2 deletions

View File

@@ -133,11 +133,19 @@ endif()
add_subdirectory(sirit)
# httplib
if (NOT TARGET httplib::httplib)
if (ENABLE_WEB_SERVICE AND NOT TARGET httplib::httplib)
set(HTTPLIB_REQUIRE_OPENSSL ON)
add_subdirectory(cpp-httplib)
endif()
# cpp-jwt
if (ENABLE_WEB_SERVICE AND NOT TARGET cpp-jwt::cpp-jwt)
set(CPP_JWT_BUILD_EXAMPLES OFF)
set(CPP_JWT_BUILD_TESTS OFF)
set(CPP_JWT_USE_VENDORED_NLOHMANN_JSON OFF)
add_subdirectory(cpp-jwt)
endif()
# Opus
if (NOT TARGET Opus::opus)
set(OPUS_BUILD_TESTING OFF)

1
externals/cpp-jwt vendored Submodule

Submodule externals/cpp-jwt added at 10ef5735d8