Skip to content

Commit dcec3a0

Browse files
authored
Update version in readme (#59)
1 parent f5788b6 commit dcec3a0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ void example() {
4343
PEGParser requires at least cmake 3.14 and the ability to compile C++17 code. The following shows how to compile and run the calculator example.
4444

4545
```bash
46+
git clone https://github.com/TheLartians/PegParser
47+
cd PegParser
4648
cmake -Sexample -Bbuild/example
4749
cmake --build build/example -j8
4850
./build/example/calculator
@@ -57,11 +59,11 @@ PEGParser can be easily added to your project through [CPM.cmake](https://github
5759
```cmake
5860
CPMAddPackage(
5961
NAME PEGParser
60-
VERSION 2.0
61-
GIT_REPOSITORY https://github.com/TheLartians/PEGParser.git
62+
VERSION 2.1.1
63+
GITHUB_REPOSITORY TheLartians/PEGParser
6264
)
6365
64-
target_link_libraries(myProject PEGParser)
66+
target_link_libraries(myProject PEGParser::PEGParser)
6567
```
6668

6769
## Project goals

0 commit comments

Comments
 (0)