diff options
author | bunnei <bunneidev@gmail.com> | 2017-06-27 22:28:13 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-07-09 13:24:20 -0400 |
commit | cc7583e03669fcd5d2585c8ab539f7308460ced8 (patch) | |
tree | 36401d347a670c0de6520cf12213d98f483914a0 | |
parent | 669757a97bb0b8324bf155ac84192e3975745789 (diff) |
externals: Add CPR as a submodule.
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | externals/CMakeLists.txt | 6 | ||||
m--------- | externals/cpr | 0 |
3 files changed, 9 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index ac0df914d8..493a0ad8f3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,6 @@ [submodule "externals/enet"] path = externals/enet url = https://github.com/lsalzman/enet +[submodule "cpr"] + path = externals/cpr + url = https://github.com/whoshuu/cpr.git diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index cc47166fc2..ce10bda5e8 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -4,6 +4,12 @@ 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) diff --git a/externals/cpr b/externals/cpr new file mode 160000 +Subproject b5758fbc88021437f968fe5174f121b8b92f5d5 |