From 6db2ee1f5aeb4049dd5307d82da1b953727bd182 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Fri, 7 Jul 2023 12:40:52 +0200 Subject: [PATCH] Revert "Replace the full nlohmann_json repo with a fetch_content variant. (#279)" This reverts commit 540a7e3dd4cbb6144ed87d44defaed069bbc0eff. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 167d233..2b81049 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,7 @@ set(fetch_packages "") # TODO: Remove when bumping cmake >= 3.24 if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.24) FetchContent_Declare(nlohmann_json - GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent + GIT_REPOSITORY https://github.com/nlohmann/json GIT_TAG ${JSON_FETCH_VERSION} FIND_PACKAGE_ARGS ) @@ -95,7 +95,7 @@ else () if (NOT nlohmann_json_FOUND) # If failed fetch the desired version FetchContent_Declare(nlohmann_json - GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent + GIT_REPOSITORY https://github.com/nlohmann/json GIT_TAG ${JSON_FETCH_VERSION} ) list(APPEND fetch_packages nlohmann_json)