Skip to content

Commit

Permalink
Merge pull request #7611 from lrineau/Triangulation_3-fix_traverser_t…
Browse files Browse the repository at this point in the history
…estsuite_cpp17-lrineau

Triangulation_3: the testsuite of the simplex traverser needs C++17
  • Loading branch information
lrineau committed Jul 26, 2023
2 parents 820b1c5 + 15968e2 commit bee1ed3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Triangulation_3/test/Triangulation_3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ create_single_source_cgal_program("test_regular_traits_3.cpp")
create_single_source_cgal_program("test_RT_cell_base_with_weighted_circumcenter_3.cpp")
create_single_source_cgal_program("test_robust_weighted_circumcenter.cpp")
create_single_source_cgal_program("test_simplex_3.cpp")
create_single_source_cgal_program("test_simplex_iterator_3.cpp" )
create_single_source_cgal_program("test_segment_cell_traverser_3.cpp" )
create_single_source_cgal_program("test_segment_simplex_traverser_3.cpp" )
if(cxx_std_17 IN_LIST CMAKE_CXX_COMPILE_FEATURES)
create_single_source_cgal_program("test_simplex_iterator_3.cpp" )
create_single_source_cgal_program("test_segment_cell_traverser_3.cpp" )
target_compile_features(test_simplex_iterator_3 PRIVATE cxx_std_17)
target_compile_features(test_segment_simplex_traverser_3 PRIVATE cxx_std_17)
else()
message(
STATUS
"NOTICE: test_segment_simplex_traverser_3.cpp requires C++17 and will not be compiled."
"NOTICE: test_simplex_iterator_3.cpp and test_segment_simplex_traverser_3.cpp require C++17 and will not be compiled."
)
endif()
create_single_source_cgal_program("test_static_filters.cpp")
Expand Down

0 comments on commit bee1ed3

Please sign in to comment.