Skip to content

google test #9

@ibtaylor

Description

@ibtaylor

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions