diff options
author | Eero Aaltonen <eero.aaltonen@iki.fi> | 2021-10-17 14:13:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-11-22 16:23:39 (GMT) |
commit | 50bf457a0dd857cf976b22c5be7d333493233d1e (patch) | |
tree | ee03ca12b04b33a09e78d465a82d375dc04be00f /Templates | |
parent | eb9991ad62666649b0349b8c1e88255330c1c05c (diff) | |
download | CMake-50bf457a0dd857cf976b22c5be7d333493233d1e.zip CMake-50bf457a0dd857cf976b22c5be7d333493233d1e.tar.gz CMake-50bf457a0dd857cf976b22c5be7d333493233d1e.tar.bz2 |
FindGTest: Add target for gmock library
`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`.
Diffstat (limited to 'Templates')
0 files changed, 0 insertions, 0 deletions