Skip to content

Commit 1870e4b

Browse files
mosfet80SGSSGene
authored andcommitted
Update CXX requirement
googletest 1.13 requires at least C++14 log: fix tests using c++ version from googletest
1 parent 0b7ce1d commit 1870e4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ target_compile_options(yaml-cpp-tests
4343
target_link_libraries(yaml-cpp-tests
4444
PRIVATE
4545
Threads::Threads
46-
yaml-cpp
47-
gtest
48-
gmock)
46+
yaml-cpp::yaml-cpp
47+
GTest::gtest
48+
GTest::gmock)
4949

5050
set_property(TARGET yaml-cpp-tests PROPERTY CXX_STANDARD_REQUIRED ON)
5151
if (NOT DEFINED CMAKE_CXX_STANDARD)

0 commit comments

Comments
 (0)