mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-29 23:13:41 +08:00
Fix build
This commit is contained in:
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
@@ -119,7 +119,7 @@ endif()
|
||||
add_subdirectory(sirit)
|
||||
|
||||
# httplib
|
||||
if (ENABLE_WEB_SERVICE AND NOT TARGET httplib::httplib)
|
||||
if (ENABLE_WEB_SERVICE OR USE_DISCORD_PRESENCE AND NOT TARGET httplib::httplib)
|
||||
set(HTTPLIB_REQUIRE_OPENSSL ON)
|
||||
add_subdirectory(cpp-httplib)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user