aboutsummaryrefslogtreecommitdiff
path: root/nrf5x.cmake
diff options
context:
space:
mode:
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)