diff options
author | JinWang An <jinwang.an@samsung.com> | 2024-02-02 17:55:35 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2024-02-02 17:55:56 +0900 |
commit | d048375edce9e2cde7c770d5db192f5f4d3ab426 (patch) | |
tree | 7f09ffd3cd86a00b1cba48e7a6c9ca6ded01d47b | |
parent | d0a092ce6d4114abaee650ba2817369245b5858b (diff) | |
download | uwb-manager-tizen.tar.gz uwb-manager-tizen.tar.bz2 uwb-manager-tizen.zip |
Fix build error c++14 for gtest version upgradetizen_9.0_m2_releaseaccepted/tizen/unified/x/20240319.055446accepted/tizen/unified/dev/20240620.005401accepted/tizen/unified/20240318.071543accepted/tizen/9.0/unified/20241030.231205tizen_9.0tizenaccepted/tizen_unified_xaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Change-Id: Id491bc23a0a5a553e018df09bea04fbfba06e48b
Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rwxr-xr-x | haltests/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | src/CMakeLists.txt | 2 |
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 ############################ |