mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
6 lines
289 B
CMake
6 lines
289 B
CMake
include(FetchContent)
|
|
|
|
message(STATUS "Setting up nlohmann::json")
|
|
FetchContent_Declare(json GIT_REPOSITORY "https://github.com/nlohmann/json/" GIT_TAG v3.11.2 GIT_SHALLOW TRUE)
|
|
option(JSON_MultipleHeaders "Disable nlohmann JSON multi header default." OFF)
|
|
FetchContent_MakeAvailable(json) |