summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorEero Aaltonen <eero.aaltonen@iki.fi>2021-10-17 14:13:07 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-22 16:23:39 (GMT)
commit50bf457a0dd857cf976b22c5be7d333493233d1e (patch)
treeee03ca12b04b33a09e78d465a82d375dc04be00f /Help/release
parenteb9991ad62666649b0349b8c1e88255330c1c05c (diff)
downloadCMake-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 'Help/release')
-rw-r--r--Help/release/dev/FindGTest-target-for-gmock.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/dev/FindGTest-target-for-gmock.rst b/Help/release/dev/FindGTest-target-for-gmock.rst
new file mode 100644
index 0000000..f78242c
--- /dev/null
+++ b/Help/release/dev/FindGTest-target-for-gmock.rst
@@ -0,0 +1,4 @@
+FindGTest-target-for-gmock
+--------------------------
+
+* The :module:`FindGTest` module now provides a target for GMock, if found.