summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
Diffstat (limited to 'externals')
-rw-r--r--externals/CMakeLists.txt12
m---------externals/cpr0
m---------externals/json0
3 files changed, 12 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index cc47166fc..ccc7f13b6 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -52,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()
diff --git a/externals/cpr b/externals/cpr
new file mode 160000
+Subproject b5758fbc88021437f968fe5174f121b8b92f5d5
diff --git a/externals/json b/externals/json
new file mode 160000
+Subproject d3496347fcd1382896fca3aaf78a0d803c2f52e