Skip to content

Commit 2117898

Browse files
committed
C++17
1 parent 70c1341 commit 2117898

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ option(SIMPLE_BVH_BUILD_TESTS "Build unit-tests" ${SIMPLE_BVH_TOPLEVEL_PROJECT})
5454

5555
# Set default minimum C++ standard
5656
if(SIMPLE_BVH_TOPLEVEL_PROJECT)
57-
set(CMAKE_CXX_STANDARD 14)
57+
set(CMAKE_CXX_STANDARD 17)
5858
set(CMAKE_CXX_STANDARD_REQUIRED ON)
5959
set(CMAKE_CXX_EXTENSIONS OFF)
6060
endif()
@@ -95,8 +95,8 @@ target_link_libraries(simple_bvh PRIVATE simple_bvh::warnings)
9595
# Compiler options
9696
################################################################################
9797

98-
# Use C++14
99-
target_compile_features(simple_bvh PUBLIC cxx_std_14)
98+
# Use C++17
99+
target_compile_features(simple_bvh PUBLIC cxx_std_17)
100100

101101
################################################################################
102102
# Tests

0 commit comments

Comments
 (0)