summaryrefslogtreecommitdiffstats
path: root/Tests/FindGTest
Commit message (Collapse)AuthorAgeFilesLines
* FindGTest: Add target for gmock libraryEero Aaltonen2021-11-221-0/+4
| | | | | | | | | | | | | | `googlemock` has been absorbed into the [googletest](https://github.com/google/googletest) project and is built and installed from the same source tree. As GTest may be built with or without GMock, skip GMock if it is not present. Do not provide result variables for GMock. They are not provided by upstream GTest's CMake Package Configuration File. Also update the test case to cover linking to `GTest::gmock`.
* FindGTest: Add GTest::{gtest,gtest_main} library namesPaweł Bylica2020-01-241-0/+4
| | | | | | | | | This introduces 2 new INTERFACE IMPORTED libraries: GTest::gtest and GTest::gtest_main. They link to GTest::GTest and GTest::Main targets respectively, therefore working as aliases. These new names map the names of the targets from upstream GTest's CMake package config. Fixes: #20255
* FindGTest: Improve test to catch link errorMatthew Woehlke2017-09-181-0/+2
| | | | | | | Add a reference to one of Google Test's command-line flags to the FindGTest test. This will ensure that we are using the correct compile definitions on Windows, as the test will otherwise fail to link. (IOW, this tests the changes made by the previous commit.)
* Tests: Remove unnecessary setting of CMAKE_MODULE_PATHCraig Scott2017-05-151-3/+0
|
* Tests: Add tests for FindGTestRoger Leigh2015-12-103-0/+33