From 99fd91efd934e119cc16794fff3d197bdb67ec02 Mon Sep 17 00:00:00 2001 From: Jojo-1000 <33495614+Jojo-1000@users.noreply.github.com> Date: Sun, 12 Apr 2020 19:43:03 +0200 Subject: [PATCH] Add c++14 requirement for gtest targets. --- test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 06b4800..4501e06 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -25,6 +25,9 @@ add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/googletest-src EXCLUDE_FROM_ALL ${CMAKE_CURRENT_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL ) +target_compile_features(gmock PUBLIC cxx_std_14) +target_compile_features(gtest PUBLIC cxx_std_14) + # define all test sources set(TEST_SOURCES test_BaseHttpHandler.cpp -- libgit2 0.21.4