summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhaltests/CMakeLists.txt2
-rwxr-xr-xsrc/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/haltests/CMakeLists.txt b/haltests/CMakeLists.txt
index 9a6b198..b1e652e 100755
--- a/haltests/CMakeLists.txt
+++ b/haltests/CMakeLists.txt
@@ -8,7 +8,7 @@ PKG_CHECK_MODULES(TARGET_UWB_HALTESTS_REQ_PKGS REQUIRED ${GTEST_DEPS} ${COMMON_D
SET(EXTRA_FLAGS "-Wall -Werror")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_FLAGS} ${CFLAGS}")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_FLAGS} -std=c++11")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_FLAGS} -std=c++14")
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
######################## directory configuration ############################
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 37ae4ca..ddf5ad2 100755
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,7 +22,7 @@ PKG_CHECK_MODULES(TARGET_UWB_MANAGER_REQ_PKGS REQUIRED ${COMMON_DEPS})
SET(EXTRA_FLAGS "-Wall -Werror")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_FLAGS} ${CFLAGS} -fPIE")
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_FLAGS} -std=c++11 -fPIE")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_FLAGS} -std=c++14 -fPIE")
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
######################## directory configuration ############################