Files
CMake/Help/release/dev/FindGTest-target-for-gmock.rst
Eero Aaltonen 50bf457a0d 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`.
2021-11-22 11:23:39 -05:00

5 lines
131 B
ReStructuredText

FindGTest-target-for-gmock
--------------------------
* The :module:`FindGTest` module now provides a target for GMock, if found.