Skip to content

Commit 10d5627

Browse files
committed
Go to C++20 (also needed for .varname style struct initialisation).
1 parent ced2f2b commit 10d5627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ add_library(${PROJECT_NAME} STATIC
2424
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wpedantic -Werror)
2525
##########################################################################
2626
target_include_directories(${PROJECT_NAME} PUBLIC src extras/cyphal++/include src/libcanard src/libo1heap)
27-
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
27+
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
2828
##########################################################################
2929
if(BUILD_EXAMPLES)
3030
add_subdirectory(examples/CAN/host-example-01-opencyphal-basic-node)

0 commit comments

Comments
 (0)