mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
📝 fix CPM.cmake example
This commit is contained in:
@ -665,10 +665,14 @@ CPMAddPackage("gh:nlohmann/json@3.11.3")
|
||||
|
||||
??? example
|
||||
|
||||
1. Create the following file:
|
||||
1. Create the following files:
|
||||
|
||||
```cpp title="example.cpp"
|
||||
--8<-- "integration/homebrew/example.cpp"
|
||||
--8<-- "integration/cpm/example.cpp"
|
||||
```
|
||||
|
||||
```cmake title="CMakeLists.txt"
|
||||
--8<-- "integration/cpm/CMakeLists.txt"
|
||||
```
|
||||
|
||||
2. Download CPM.cmake
|
||||
|
Reference in New Issue
Block a user