Skip to content

Commit 27f4ead

Browse files
authored
Use shorthand-syntax in readme (#23)
1 parent 7954bea commit 27f4ead

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ Also the [CPM.cmake](https://github.com/TheLartians/CPM.cmake) script should be
1313
See [here](https://github.com/TheLartians/ModernCppStarter/blob/master/CMakeLists.txt) for an example usage.
1414

1515
```cmake
16-
CPMAddPackage(
17-
NAME PackageProject.cmake
18-
GITHUB_REPOSITORY TheLartians/PackageProject.cmake
19-
VERSION 1.5.1
20-
)
16+
CPMAddPackage("gh:TheLartians/PackageProject.cmake@1.5.1")
2117
2218
packageProject(
2319
# the name of the target to export

0 commit comments

Comments
 (0)