From 505df56afec888899658ac84951150c15d8b02a9 Mon Sep 17 00:00:00 2001 From: Mr-X-GTA <110748953+Mr-X-GTA@users.noreply.github.com> Date: Wed, 15 Jul 2026 19:22:34 +0200 Subject: [PATCH] Update json.cmake --- cmake/json.cmake | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/cmake/json.cmake b/cmake/json.cmake index 014f3e74..50ce24c8 100644 --- a/cmake/json.cmake +++ b/cmake/json.cmake @@ -1,12 +1,9 @@ include(FetchContent) -set(JSON_MultipleHeaders OFF) - FetchContent_Declare( json - GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git - GIT_TAG 67e6070f9d9a44b4dec79ebe6b591f39d2285593 - GIT_PROGRESS TRUE + URL https://github.com/nlohmann/json/releases/download/v3.12.0/json.tar.xz + DOWNLOAD_EXTRACT_TIMESTAMP TRUE ) -message("json") +option(JSON_MultipleHeaders "Disable nlohmann JSON multi header default." OFF) FetchContent_MakeAvailable(json)