diff options
author | Gil <mcg@google.com> | 2018-06-26 14:57:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 14:57:40 -0700 |
commit | d03050653ff84e624def93aa512ef35907f5792a (patch) | |
tree | cef0fb6ef7e28a3302e1578f83a8fd8d57099eba /Firestore/third_party/abseil-cpp | |
parent | ae7078ca2bdd362df43e5fdba0261c5c84c1b447 (diff) |
Install googletest (#1461)
Also add FindGMock to Find gmock after installation
Diffstat (limited to 'Firestore/third_party/abseil-cpp')
-rw-r--r-- | Firestore/third_party/abseil-cpp/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Firestore/third_party/abseil-cpp/CMakeLists.txt b/Firestore/third_party/abseil-cpp/CMakeLists.txt index 7318cd3..4b939fa 100644 --- a/Firestore/third_party/abseil-cpp/CMakeLists.txt +++ b/Firestore/third_party/abseil-cpp/CMakeLists.txt @@ -76,14 +76,14 @@ endif() ## check targets if(BUILD_TESTING) - check_target(gtest) - check_target(gtest_main) - check_target(gmock) + check_target(GTest::GTest) + check_target(GTest::Main) + check_target(GMock::GMock) list(APPEND ABSL_TEST_COMMON_LIBRARIES - gtest_main - gtest - gmock + GTest::GTest + GTest::Main + GMock::GMock ${CMAKE_THREAD_LIBS_INIT} ) endif() |