Commit 99fd91efd934e119cc16794fff3d197bdb67ec02

Authored by Jojo-1000
Committed by Moritz Wirger
1 parent 1535cb15

Add c++14 requirement for gtest targets.

Showing 1 changed file with 3 additions and 0 deletions
test/CMakeLists.txt
@@ -25,6 +25,9 @@ add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/googletest-src EXCLUDE_FROM_ALL @@ -25,6 +25,9 @@ add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/googletest-src EXCLUDE_FROM_ALL
25 ${CMAKE_CURRENT_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL 25 ${CMAKE_CURRENT_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL
26 ) 26 )
27 27
  28 +target_compile_features(gmock PUBLIC cxx_std_14)
  29 +target_compile_features(gtest PUBLIC cxx_std_14)
  30 +
28 # define all test sources 31 # define all test sources
29 set(TEST_SOURCES 32 set(TEST_SOURCES
30 test_BaseHttpHandler.cpp 33 test_BaseHttpHandler.cpp