diff options
author | HampusM <hampus@hampusmat.com> | 2022-07-01 16:01:04 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-07-01 16:01:04 +0200 |
commit | 7307815e99a79dac42f2a9c06b0fe6171ea11ba0 (patch) | |
tree | ad41ee819dc87fc2653caf720fa7d1df30c0caeb /lib | |
parent | 2bff8c999edde11270ecaf6fbd2d24f54d0e360b (diff) |
refactor: use ranges
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 8 | ||||
-rw-r--r-- | lib/range-v3/CMakeLists.txt | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index eca9503..baf8680 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -40,6 +40,14 @@ FetchContent_Declare( add_subdirectory(backward) +FetchContent_Declare( + range-v3 + GIT_REPOSITORY "https://github.com/ericniebler/range-v3" + GIT_TAG 0.12.0 +) + +add_subdirectory(range-v3) + if(test) FetchContent_Declare( catch2 diff --git a/lib/range-v3/CMakeLists.txt b/lib/range-v3/CMakeLists.txt new file mode 100644 index 0000000..62596c9 --- /dev/null +++ b/lib/range-v3/CMakeLists.txt @@ -0,0 +1,3 @@ +message(STATUS "Fetching range-v3...") + +FetchContent_MakeAvailable(range-v3) |