summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-01 21:15:06 +0500
committerilotterytea <iltsu@alright.party>2024-05-01 21:15:06 +0500
commitb424f1e2aee3516c482fc2f0968bde1af49a2f6f (patch)
treef3b849ff5edf26a49b7213888f304580871634aa /CMakeLists.txt
parent9356f7f62e022d0f713af278af9d45e2d2e9bcf5 (diff)
feat: added cpr dependency
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)