From: JinWang An Date: Tue, 12 Mar 2024 05:20:53 +0000 (+0900) Subject: Fix from -std=gnu++0x to -std=c++14 for gtest 1.14.0 version upgrade X-Git-Tag: accepted/tizen/unified/20240318.071512^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_9.0;p=platform%2Fhal%2Fbackend%2Ftw3%2Fsensor-tw3.git Fix from -std=gnu++0x to -std=c++14 for gtest 1.14.0 version upgrade Change-Id: I194a4155256c5def726bfdf621da0c7bf5c2e3e6 Signed-off-by: JinWang An --- 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")