Skip to content

Commit 8f7516d

Browse files
authored
Clean up target_link_libraries in CMakeLists
Removed redundant libraries from yaml-cpp-tests.
1 parent e3f7b73 commit 8f7516d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ target_compile_options(yaml-cpp-tests
4343
target_link_libraries(yaml-cpp-tests
4444
PRIVATE
4545
Threads::Threads
46-
yaml-cpp
47-
yaml-cpp::yaml-cpp
48-
GTest::gtest
49-
GTest::gmock)
46+
yaml-cpp)
5047

5148
set_property(TARGET yaml-cpp-tests PROPERTY CXX_STANDARD_REQUIRED ON)
5249
if (NOT DEFINED CMAKE_CXX_STANDARD)

0 commit comments

Comments
 (0)