mirror of
https://github.com/nlohmann/json.git
synced 2026-07-03 01:04:18 +00:00
JSON for Modern C++ 3.11.3 (#4222)
This commit is contained in:
@@ -1273,7 +1273,7 @@ Example:
|
||||
```cmake
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz)
|
||||
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
|
||||
FetchContent_MakeAvailable(json)
|
||||
|
||||
target_link_libraries(foo PRIVATE nlohmann_json::nlohmann_json)
|
||||
|
||||
Reference in New Issue
Block a user