File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ void example() {
4343PEGParser 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
4648cmake -Sexample -Bbuild/example
4749cmake --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
5860CPMAddPackage(
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
You can’t perform that action at this time.
0 commit comments