diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-01 21:15:06 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-01 21:15:06 +0500 |
| commit | b424f1e2aee3516c482fc2f0968bde1af49a2f6f (patch) | |
| tree | f3b849ff5edf26a49b7213888f304580871634aa | |
| parent | 9356f7f62e022d0f713af278af9d45e2d2e9bcf5 (diff) | |
feat: added cpr dependency
| -rw-r--r-- | CMakeLists.txt | 7 |
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) |
