diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2022-07-29 11:34:32 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-29 14:05:55 -0400 |
commit | 1aa95e1a3b0f29ca35554b1bb003f714c315e047 (patch) | |
tree | 9de07c84aca90e0b6f8f5d2f05988a504a6ffa13 /Help/guide/tutorial/Step7/MathFunctions/MathFunctions.h | |
parent | d566bd962df5b1bf0ec5d16e9e7affe592b8b3eb (diff) | |
download | cmake-1aa95e1a3b0f29ca35554b1bb003f714c315e047.tar.gz |
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/Step7/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions