-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update installation instruction in readme for newest version
- Loading branch information
1 parent
3825bbe
commit 6744af3
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,14 +106,10 @@ template <class T> auto range(T end) { | |
## Installation and usage | ||
|
||
EasyIterator is a single-header library, so you can simply download and copy the header into your project, or use the Cmake script to install it globally. | ||
Using the [CPM](https://github.com/TheLartians/CPM) dependency manager, you can also include EasyIterator simply by adding the following to your projects' `CMakeLists.txt`. | ||
Using the [CPM](https://github.com/cpm-cmake/CPM.cmake) dependency manager, you can also include EasyIterator simply by adding the following to your projects' `CMakeLists.txt`. | ||
|
||
```cmake | ||
CPMAddPackage( | ||
NAME EasyIterator | ||
VERSION 1.4 | ||
GIT_REPOSITORY https://github.com/TheLartians/EasyIterator.git | ||
) | ||
CPMAddPackage("gh:thelartians/[email protected]") | ||
target_link_libraries(myProject EasyIterator) | ||
set_target_properties(myProject PROPERTIES CXX_STANDARD 17) | ||
|