Skip to content

Commit e6cafa5

Browse files
authored
📝 fix CPM.cmake example
1 parent e0a17f8 commit e6cafa5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/mkdocs/docs/integration/package_managers.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,10 +665,14 @@ CPMAddPackage("gh:nlohmann/[email protected]")
665665

666666
??? example
667667

668-
1. Create the following file:
668+
1. Create the following files:
669669

670670
```cpp title="example.cpp"
671-
--8<-- "integration/homebrew/example.cpp"
671+
--8<-- "integration/cpm/example.cpp"
672+
```
673+
674+
```cmake title="CMakeLists.txt"
675+
--8<-- "integration/cpm/CMakeLists.txt"
672676
```
673677

674678
2. Download CPM.cmake

0 commit comments

Comments
 (0)