diff options
Diffstat (limited to '')
| -rw-r--r-- | externals/CMakeLists.txt | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 11c5d8e7d..ccc7f13b6 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -4,12 +4,6 @@ | |||
| 4 | add_library(catch-single-include INTERFACE) | 4 | add_library(catch-single-include INTERFACE) |
| 5 | target_include_directories(catch-single-include INTERFACE catch/single_include) | 5 | target_include_directories(catch-single-include INTERFACE catch/single_include) |
| 6 | 6 | ||
| 7 | # CPR | ||
| 8 | option(BUILD_TESTING OFF) | ||
| 9 | option(BUILD_CPR_TESTS OFF) | ||
| 10 | add_subdirectory(cpr) | ||
| 11 | target_include_directories(cpr INTERFACE ./cpr/include) | ||
| 12 | |||
| 13 | # Crypto++ | 7 | # Crypto++ |
| 14 | add_subdirectory(cryptopp) | 8 | add_subdirectory(cryptopp) |
| 15 | 9 | ||
| @@ -34,10 +28,6 @@ add_subdirectory(glad) | |||
| 34 | # inih | 28 | # inih |
| 35 | add_subdirectory(inih) | 29 | add_subdirectory(inih) |
| 36 | 30 | ||
| 37 | # JSON | ||
| 38 | add_library(json-headers INTERFACE) | ||
| 39 | target_include_directories(json-headers INTERFACE ./json/src) | ||
| 40 | |||
| 41 | # MicroProfile | 31 | # MicroProfile |
| 42 | add_library(microprofile INTERFACE) | 32 | add_library(microprofile INTERFACE) |
| 43 | target_include_directories(microprofile INTERFACE ./microprofile) | 33 | target_include_directories(microprofile INTERFACE ./microprofile) |
| @@ -62,3 +52,15 @@ endif() | |||
| 62 | # ENet | 52 | # ENet |
| 63 | add_subdirectory(enet) | 53 | add_subdirectory(enet) |
| 64 | target_include_directories(enet INTERFACE ./enet/include) | 54 | target_include_directories(enet INTERFACE ./enet/include) |
| 55 | |||
| 56 | if (ENABLE_WEB_SERVICE) | ||
| 57 | # CPR | ||
| 58 | option(BUILD_TESTING OFF) | ||
| 59 | option(BUILD_CPR_TESTS OFF) | ||
| 60 | add_subdirectory(cpr) | ||
| 61 | target_include_directories(cpr INTERFACE ./cpr/include) | ||
| 62 | |||
| 63 | # JSON | ||
| 64 | add_library(json-headers INTERFACE) | ||
| 65 | target_include_directories(json-headers INTERFACE ./json/src) | ||
| 66 | endif() | ||