CGAL now requires C++17

This commit is contained in:
Sébastien Loriot 2023-04-28 20:16:28 +02:00
parent 932ba31013
commit fcd71fa9f3
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ function(CGAL_setup_CGAL_dependencies target)
target_compile_definitions(${target} INTERFACE CGAL_TEST_SUITE=1)
endif()
# CGAL now requires C++14. `decltype(auto)` is used as a marker of C++14.
target_compile_features(${target} INTERFACE cxx_decltype_auto)
# CGAL now requires C++17
target_compile_features(${target} INTERFACE cxx_std_17)
use_CGAL_Boost_support(${target} INTERFACE)