summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step10/tutorial.cxx
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-07-29 15:34:32 (GMT)
committerBrad King <brad.king@kitware.com>2022-07-29 18:05:55 (GMT)
commit1aa95e1a3b0f29ca35554b1bb003f714c315e047 (patch)
tree9de07c84aca90e0b6f8f5d2f05988a504a6ffa13 /Help/guide/tutorial/Step10/tutorial.cxx
parentd566bd962df5b1bf0ec5d16e9e7affe592b8b3eb (diff)
downloadCMake-1aa95e1a3b0f29ca35554b1bb003f714c315e047.zip
CMake-1aa95e1a3b0f29ca35554b1bb003f714c315e047.tar.gz
CMake-1aa95e1a3b0f29ca35554b1bb003f714c315e047.tar.bz2
FindGTest: Create the gmock targets only when GTest has been found
When we introduced the `GTest::gmock` and `GTest::gmock_main` targets in commit 50bf457a0d (FindGTest: Add target for gmock library, 2021-10-17, v3.23.0-rc1~321^2) we failed to handle the case where GTest isn't found. Don't construct gmock targets that depend on non-existent gtest targets when gtest failed to be found.
Diffstat (limited to 'Help/guide/tutorial/Step10/tutorial.cxx')
0 files changed, 0 insertions, 0 deletions