Skip to content

Commit 35d80db

Browse files
committed
feat(cmake): update C/C++ standard to 17
Signed-off-by: Frederic Pillon <[email protected]>
1 parent be23de8 commit 35d80db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: cmake/toolchain.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ SET(CMAKE_SYSTEM_PROCESSOR arm)
4949
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # don't try to link when testing the compiler, it won't work anyway
5050
set(BUILD_SHARED_LIBS false CACHE STRING "")
5151

52-
set(CMAKE_CXX_STANDARD 14)
53-
set(CMAKE_C_STANDARD 11)
52+
set(CMAKE_CXX_STANDARD 17)
53+
set(CMAKE_C_STANDARD 17)
5454

5555
set(CMAKE_EXECUTABLE_SUFFIX .elf)
5656
# These override CMAKE_EXECUTABLE_SUFFIX -- prevent any CMake built-in from overriding the value we want

0 commit comments

Comments
 (0)