Compare commits

..

1 Commits

Author SHA1 Message Date
Daryl Ronningen bc5ada901d Merge branch 'dev' into 'dev'
Add in changes from EA 4176

See merge request suyu-emu/suyu!86
2024-03-08 05:00:58 +00:00
2 changed files with 1 additions and 4 deletions

View File

@ -340,9 +340,6 @@ endif()
if (ENABLE_WEB_SERVICE)
find_package(cpp-jwt 1.4 CONFIG)
endif()
if (ENABLE_WEB_SERVICE OR USE_DISCORD_PRESENCE)
find_package(httplib 0.12 MODULE COMPONENTS OpenSSL)
endif()

View File

@ -119,7 +119,7 @@ endif()
add_subdirectory(sirit)
# httplib
if (ENABLE_WEB_SERVICE OR USE_DISCORD_PRESENCE AND NOT TARGET httplib::httplib)
if (ENABLE_WEB_SERVICE AND NOT TARGET httplib::httplib)
set(HTTPLIB_REQUIRE_OPENSSL ON)
add_subdirectory(cpp-httplib)
endif()