Revert "Removed web service reminiscents" in preparation to fix multiplayer lobby list
This reverts commit ffc907460f.
This commit is contained in:
parent
cc81504195
commit
39af5e51ff
16 changed files with 196 additions and 2 deletions
10
externals/CMakeLists.txt
vendored
10
externals/CMakeLists.txt
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue