-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
wave_geometry/cmake/AddGTest.cmake
Line 7 in c9dd47d
| if(TARGET GTest::GTest) |
since googletest 1.8.1, the target should be GTest::gtest, I believe. Unfortunately, the cmake (kitware) supplied module uses a different name.
| TARGET_LINK_LIBRARIES(${NAME} wave_geometry GTest::Main) |
GTest::gtest_main here.
I think the thought of the googletest project is to supply gmock and gtest both under the GTest cmake namespace with proper transitive dependencies, which would be difficult for the cmake (kitware) module to provide.
Metadata
Metadata
Assignees
Labels
No labels