File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ endif()
5454include (CMakeParseArguments)
5555include (FetchContent)
5656
57- FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz)
57+ FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git
58+ GIT_TAG d41ca94fa85d5119852e2f7a3f94335cc7cb0486 # PR #4709, fixes cmake deprecation warnings
59+ )
5860FetchContent_Declare(googletest
5961 GIT_REPOSITORY https://github.com/google/googletest.git
6062 GIT_TAG a7f443b80b105f940225332ed3c31f2790092f47 # latest main
Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ endif()
5353include (CMakeParseArguments)
5454include (FetchContent)
5555
56- FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz)
56+ FetchContent_Declare(json GIT_REPOSITORY https://github.com/nlohmann/json.git
57+ GIT_TAG d41ca94fa85d5119852e2f7a3f94335cc7cb0486 # PR #4709, fixes cmake deprecation warnings
58+ )
5759FetchContent_Declare(googletest
5860 GIT_REPOSITORY https://github.com/google/googletest.git
5961 GIT_TAG a7f443b80b105f940225332ed3c31f2790092f47 # latest main
You can’t perform that action at this time.
0 commit comments