From 3b703b476ae224843fc4d79d06ddd40abf4bc8ec Mon Sep 17 00:00:00 2001 From: Junkyeong Kim Date: Tue, 19 Mar 2024 11:06:55 +0900 Subject: test: fix test execution error The gtest version up to 1.14. Have to match test build version to 1.14. Change-Id: Ie8d9fbfeb40d8a4aa743ea35b0f0978b31423946 Signed-off-by: Junkyeong Kim --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index dc8b168..6ba2ec8 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -29,9 +29,9 @@ INCLUDE_DIRECTORIES( ) IF(EFLUTILGCOV) - SET(CMAKE_CXX_FLAGS "${CXXFLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -O2 -g -fPIE -Wall -Werror --param=max-vartrack-size=60000000") + SET(CMAKE_CXX_FLAGS "${CXXFLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -O2 -g -fPIE -Wall -Werror --param=max-vartrack-size=60000000 -std=c++14") ELSE(EFLUTILGCOV) - SET(CMAKE_CXX_FLAGS "${CXXFLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -O2 -g -fPIE -Wall -Werror") + SET(CMAKE_CXX_FLAGS "${CXXFLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -O2 -g -fPIE -Wall -Werror -std=c++14") ENDIF(EFLUTILGCOV) SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}") ADD_EXECUTABLE(${EXEC_NAME} ${TC_SOURCES}) -- cgit v1.2.3