Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions cmake/deps/json.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ include(FetchContent)
set(JSON_BuildTests OFF)
set(JSON_Install OFF)

FetchContent_Declare(json
URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz
FetchContent_Declare(nlohmann_json
URL https://github.com/nlohmann/json/archive/refs/tags/v3.12.0.tar.gz
URL_HASH SHA256=4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
FIND_PACKAGE_ARGS NAMES nlohmann_json
)

FetchContent_MakeAvailable(json)
FetchContent_MakeAvailable(nlohmann_json)
Loading