[cmake-developers] [PATCH] Imported targets for FindGTest

rleigh at codelibre.net rleigh at codelibre.net
Thu Dec 10 18:26:04 EST 2015


> - Adds GTest::GTest and GTest::Main imported targets (including
> Thread::Thread dependency for GTest::GTest and GTest::GTest for
> GTest::Main; the latter might not be appropriate and could be removed if
> needed--but I'm unaware of any situation where you would want to use
> GTest::Main without GTest::GTest)

Double-checking the gtest_main symbol table, it depends on symbols from
gtest, so the dependency is actually required, so please ignore the
above--it's definitely appropriate.



More information about the cmake-developers mailing list