Skip to content

Commit

Permalink
update installation instruction in readme for newest version
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLartians committed Oct 14, 2024
1 parent 3825bbe commit 6744af3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6744af3

Please sign in to comment.