diff options
author | JinWang An <jinwang.an@samsung.com> | 2024-03-12 14:20:53 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2024-03-12 14:20:53 +0900 |
commit | e07a41e6184fa3694be8655e155c86b38a676e20 (patch) | |
tree | 28ff37c994eda9000d78a6366e519d46ec8a1f45 | |
parent | 57f547a494f0cac60b38b7c1da2a311fa1b57d8d (diff) | |
download | sensor-tw3-accepted/tizen_unified.tar.gz sensor-tw3-accepted/tizen_unified.tar.bz2 sensor-tw3-accepted/tizen_unified.zip |
Fix from -std=gnu++0x to -std=c++14 for gtest 1.14.0 version upgradetizen_9.0_m2_releaseaccepted/tizen/unified/dev/20240620.010524accepted/tizen/unified/20240318.071512accepted/tizen/9.0/unified/20241030.232105tizen_9.0tizenaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Change-Id: I194a4155256c5def726bfdf621da0c7bf5c2e3e6
Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rwxr-xr-x | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d15fc51..6c880d2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ SET(DUST "OFF") SET(SENSORHUB "ON") # Common Options -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O2 -fomit-frame-pointer -std=gnu++0x") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O2 -fomit-frame-pointer -std=c++14") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdata-sections -ffunction-sections") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color") SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--gc-section -Wl,--print-gc-section") |