From d6e6c587e9f5c599bae57a9a5532c6f9a108906a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 12 Nov 2016 13:02:30 +0100 Subject: o Support for S132. --- nrf5x.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nrf5x.cmake') diff --git a/nrf5x.cmake b/nrf5x.cmake index 2f37500..38333af 100644 --- a/nrf5x.cmake +++ b/nrf5x.cmake @@ -74,3 +74,7 @@ include(CMakeFindBinUtils) set(CMAKE_C_COMPILER ${ARM_CC} CACHE FILE "") set(CMAKE_CXX_COMPILER ${ARM_CXX} CACHE FILE "") set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) + +# The ARM compilers today support this. +set(CMAKE_C_STANDARD 11) +set(CMAKE_CXX_STANDARD 14) -- cgit v1.2.3