diff options
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r-- | externals/CMakeLists.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 53dcf1f1a..c6b175147 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -70,3 +70,28 @@ if(ENABLE_CUBEB) set(BUILD_TESTS OFF CACHE BOOL "") add_subdirectory(cubeb EXCLUDE_FROM_ALL) endif() + +# DiscordRPC +if (USE_DISCORD_PRESENCE) + add_subdirectory(discord-rpc) + target_include_directories(discord-rpc INTERFACE ./discord-rpc/include) +endif() + +if (ENABLE_WEB_SERVICE) + # LibreSSL + set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "") + add_definitions(-DHAVE_INET_NTOP) + add_subdirectory(libressl) + target_include_directories(ssl INTERFACE ./libressl/include) + + # lurlparser + add_subdirectory(lurlparser) + + # httplib + add_library(httplib INTERFACE) + target_include_directories(httplib INTERFACE ./httplib) + + # JSON + add_library(json-headers INTERFACE) + target_include_directories(json-headers INTERFACE ./json) +endif()
\ No newline at end of file |