Skip to content

Commit 8496fb9

Browse files
authored
Update to C++20 (#155)
1 parent 3ce7ec2 commit 8496fb9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ project(NAM VERSION 0.3.0)
55

66
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
77

8-
set(CMAKE_CXX_STANDARD 17)
8+
set(CMAKE_CXX_STANDARD 20)
99
set(CMAKE_CXX_STANDARD_REQUIRED OFF)
1010
set(CMAKE_CXX_EXTENSIONS OFF)
1111

tools/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ add_executable(run_tests run_tests.cpp ${NAM_SOURCES})
1616

1717
source_group(NAM ${CMAKE_CURRENT_SOURCE_DIR} FILES ${NAM_SOURCES})
1818

19-
target_compile_features(${TOOLS} PUBLIC cxx_std_17)
19+
target_compile_features(${TOOLS} PUBLIC cxx_std_20)
2020

2121
set_target_properties(${TOOLS}
2222
PROPERTIES

0 commit comments

Comments
 (0)