FindGTest: Add target for gmock library
googlemock has been absorbed into the
googletest project and is built
and installed from the same source tree.
Add a
CMake target for the gmock library in FindGTest.cmake.
In googletest version 1.8 gmock is built and installed from the same sources. In versions >= 1.8.1 upstream provides package configuration files, which usually provide the GTest::gmock (except cross-compiling with Yocto dunfell_, for some reason_).
Topic-rename: FindGTest-target-for-gmock
Edited by Brad King