aboutsummaryrefslogtreecommitdiff
path: root/nrf5x.cmake
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-11-12 13:02:30 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2016-11-12 13:02:30 +0100
commitd6e6c587e9f5c599bae57a9a5532c6f9a108906a (patch)
tree65d08435451e0a09291ef71ff340f97121a3321a /nrf5x.cmake
parentb31c8738e284119baa625aeef8ab6e6ede620756 (diff)
downloadmcu.cmake-d6e6c587e9f5c599bae57a9a5532c6f9a108906a.tar.gz
mcu.cmake-d6e6c587e9f5c599bae57a9a5532c6f9a108906a.tar.bz2
mcu.cmake-d6e6c587e9f5c599bae57a9a5532c6f9a108906a.tar.xz
mcu.cmake-d6e6c587e9f5c599bae57a9a5532c6f9a108906a.zip
o Support for S132.
Diffstat (limited to 'nrf5x.cmake')
-rw-r--r--nrf5x.cmake4
1 files changed, 4 insertions, 0 deletions
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)