Skip to content

Commit 6394ae5

Browse files
committed
cmake: use first-party distro for nlohmann::json
1 parent 0556df6 commit 6394ae5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,10 +734,7 @@ target_link_libraries (noggit
734734

735735
if (NOGGIT_WITH_SCRIPTING)
736736
# Dependency: json.hpp
737-
FetchContent_Declare (json
738-
GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent
739-
GIT_TAG v3.11.2
740-
)
737+
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
741738
FetchContent_GetProperties (json)
742739
if (NOT json_POPULATED)
743740
message (STATUS "Installing json.hpp...")

0 commit comments

Comments
 (0)