1
0
mirror of https://github.com/nlohmann/json.git synced 2025-08-06 07:02:42 +03:00

📝 fix CPM.cmake example

This commit is contained in:
Niels Lohmann
2024-12-11 08:31:43 +01:00
committed by GitHub
parent e0a17f8475
commit e6cafa573a

View File

@@ -665,10 +665,14 @@ CPMAddPackage("gh:nlohmann/json@3.11.3")
??? example ??? example
1. Create the following file: 1. Create the following files:
```cpp title="example.cpp" ```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 2. Download CPM.cmake