summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2024-02-02 17:55:35 +0900
committerJinWang An <jinwang.an@samsung.com>2024-02-02 17:55:56 +0900
commitd048375edce9e2cde7c770d5db192f5f4d3ab426 (patch)
tree7f09ffd3cd86a00b1cba48e7a6c9ca6ded01d47b
parentd0a092ce6d4114abaee650ba2817369245b5858b (diff)
downloaduwb-manager-tizen.tar.gz
uwb-manager-tizen.tar.bz2
uwb-manager-tizen.zip
Change-Id: Id491bc23a0a5a553e018df09bea04fbfba06e48b Signed-off-by: JinWang An <jinwang.an@samsung.com>
-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 ############################