diff options
Diffstat (limited to '')
| -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) | |||
| 70 | set(BUILD_TESTS OFF CACHE BOOL "") | 70 | set(BUILD_TESTS OFF CACHE BOOL "") |
| 71 | add_subdirectory(cubeb EXCLUDE_FROM_ALL) | 71 | add_subdirectory(cubeb EXCLUDE_FROM_ALL) |
| 72 | endif() | 72 | endif() |
| 73 | |||
| 74 | # DiscordRPC | ||
| 75 | if (USE_DISCORD_PRESENCE) | ||
| 76 | add_subdirectory(discord-rpc) | ||
| 77 | target_include_directories(discord-rpc INTERFACE ./discord-rpc/include) | ||
| 78 | endif() | ||
| 79 | |||
| 80 | if (ENABLE_WEB_SERVICE) | ||
| 81 | # LibreSSL | ||
| 82 | set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "") | ||
| 83 | add_definitions(-DHAVE_INET_NTOP) | ||
| 84 | add_subdirectory(libressl) | ||
| 85 | target_include_directories(ssl INTERFACE ./libressl/include) | ||
| 86 | |||
| 87 | # lurlparser | ||
| 88 | add_subdirectory(lurlparser) | ||
| 89 | |||
| 90 | # httplib | ||
| 91 | add_library(httplib INTERFACE) | ||
| 92 | target_include_directories(httplib INTERFACE ./httplib) | ||
| 93 | |||
| 94 | # JSON | ||
| 95 | add_library(json-headers INTERFACE) | ||
| 96 | target_include_directories(json-headers INTERFACE ./json) | ||
| 97 | endif() \ No newline at end of file | ||