File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ set(CPR_USE_SYSTEM_CURL ON)
88include (FetchContent )
99
1010FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2)
11- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0)
11+ FetchContent_Declare (json URL https://github.com/nlohmann/json/releases/download/ v3.12.0/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE )
1212FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0)
1313FetchContent_MakeAvailable (cpr json libpqxx)
1414
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ set(CPR_USE_SYSTEM_CURL ON)
88include (FetchContent )
99
1010FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2)
11- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0)
11+ FetchContent_Declare (json URL https://github.com/nlohmann/json/releases/download/ v3.12.0/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE )
1212FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0)
1313FetchContent_MakeAvailable (cpr json libpqxx)
1414
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ set(CPR_USE_SYSTEM_CURL ON)
88include (FetchContent )
99
1010FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2)
11- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0)
11+ FetchContent_Declare (json URL https://github.com/nlohmann/json/releases/download/ v3.12.0/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE )
1212FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0)
1313FetchContent_MakeAvailable (cpr json libpqxx)
1414
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ set(CPR_USE_SYSTEM_CURL ON)
88include (FetchContent )
99
1010FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git GIT_TAG 1.14.2)
11- FetchContent_Declare (json GIT_REPOSITORY https://github.com/nlohmann/json.git GIT_TAG v3.12.0)
11+ FetchContent_Declare (json URL https://github.com/nlohmann/json/releases/download/ v3.12.0/json.tar.xz DOWNLOAD_EXTRACT_TIMESTAMP TRUE )
1212FetchContent_Declare (libpqxx GIT_REPOSITORY https://github.com/jtv/libpqxx.git GIT_TAG 8.0.0)
1313FetchContent_MakeAvailable (cpr json libpqxx)
1414
You can’t perform that action at this time.
0 commit comments