summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3c1e769..ed4930f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,4 +28,9 @@ include(FetchContent)
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
FetchContent_MakeAvailable(json)
-target_link_libraries(Bot PRIVATE ixwebsocket pqxx nlohmann_json::nlohmann_json)
+include(FetchContent)
+FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git
+ GIT_TAG 1.10.5)
+FetchContent_MakeAvailable(cpr)
+
+target_link_libraries(Bot PRIVATE ixwebsocket pqxx nlohmann_json::nlohmann_json cpr::cpr)