Skip to content

Commit

Permalink
Tidy up includes. Must call setup_target() on the ranges target.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhuggett committed Dec 31, 2023
1 parent 8171abf commit e4b2c4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/ranges/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if (standard GREATER_EQUAL 20)
add_executable (ranges ranges.cpp)
setup_target (ranges)
target_link_libraries (ranges PUBLIC icubaby)
endif ()
7 changes: 5 additions & 2 deletions tests/ranges/ranges.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#include <array>
#include <algorithm>
#include <cassert>
#include <concepts>
#include <cstdint>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <ranges>
#include <vector>
#include <version>

#include "icubaby/icubaby.hpp"

Expand Down

0 comments on commit e4b2c4e

Please sign in to comment.