diff options
author | bunnei <bunneidev@gmail.com> | 2017-07-09 23:52:18 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-07-12 00:33:41 +0200 |
commit | 33b012e86b846bbba1a42193cbaf34fa16b8fb93 (patch) | |
tree | cb150fa04e758e0277aa5cc4c560226c0cf9b6ff /externals | |
parent | telemetry_session: Use TelemetryJson to submit real telemetry. (diff) | |
download | yuzu-33b012e86b846bbba1a42193cbaf34fa16b8fb93.tar yuzu-33b012e86b846bbba1a42193cbaf34fa16b8fb93.tar.gz yuzu-33b012e86b846bbba1a42193cbaf34fa16b8fb93.tar.bz2 yuzu-33b012e86b846bbba1a42193cbaf34fa16b8fb93.tar.lz yuzu-33b012e86b846bbba1a42193cbaf34fa16b8fb93.tar.xz yuzu-33b012e86b846bbba1a42193cbaf34fa16b8fb93.tar.zst yuzu-33b012e86b846bbba1a42193cbaf34fa16b8fb93.zip |
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 @@ add_library(catch-single-include INTERFACE) target_include_directories(catch-single-include INTERFACE catch/single_include) -# CPR -option(BUILD_TESTING OFF) -option(BUILD_CPR_TESTS OFF) -add_subdirectory(cpr) -target_include_directories(cpr INTERFACE ./cpr/include) - # Crypto++ add_subdirectory(cryptopp) @@ -34,10 +28,6 @@ add_subdirectory(glad) # inih add_subdirectory(inih) -# JSON -add_library(json-headers INTERFACE) -target_include_directories(json-headers INTERFACE ./json/src) - # MicroProfile add_library(microprofile INTERFACE) target_include_directories(microprofile INTERFACE ./microprofile) @@ -62,3 +52,15 @@ endif() # ENet add_subdirectory(enet) target_include_directories(enet INTERFACE ./enet/include) + +if (ENABLE_WEB_SERVICE) + # CPR + option(BUILD_TESTING OFF) + option(BUILD_CPR_TESTS OFF) + add_subdirectory(cpr) + target_include_directories(cpr INTERFACE ./cpr/include) + + # JSON + add_library(json-headers INTERFACE) + target_include_directories(json-headers INTERFACE ./json/src) +endif() |