Skip to content

Commit

Permalink
Go to C++20 (also needed for .varname style struct initialisation).
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Sep 30, 2024
1 parent ced2f2b commit 10d5627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ add_library(${PROJECT_NAME} STATIC
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -Wpedantic -Werror)
##########################################################################
target_include_directories(${PROJECT_NAME} PUBLIC src extras/cyphal++/include src/libcanard src/libo1heap)
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
##########################################################################
if(BUILD_EXAMPLES)
add_subdirectory(examples/CAN/host-example-01-opencyphal-basic-node)
Expand Down

0 comments on commit 10d5627

Please # to comment.