Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Remove redundant link to gtest (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Feb 16, 2024
1 parent 92f4433 commit 56491c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ if(BUILD_TESTING)
)
target_link_libraries(
TrajoptLibTest
PRIVATE TrajoptLib fmt::fmt GTest::gtest GTest::gtest_main
PRIVATE TrajoptLib fmt::fmt GTest::gtest_main
)
if(NOT CMAKE_TOOLCHAIN_FILE)
gtest_discover_tests(TrajoptLibTest)
Expand Down Expand Up @@ -290,7 +290,7 @@ foreach(example ${EXAMPLES})
)
target_link_libraries(
${example}Test
PRIVATE TrajoptLib GTest::gtest GTest::gtest_main
PRIVATE TrajoptLib GTest::gtest_main
)
if(NOT CMAKE_TOOLCHAIN_FILE)
gtest_discover_tests(${example}Test)
Expand Down

0 comments on commit 56491c2

Please sign in to comment.