aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/third_party
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-06-26 14:57:40 -0700
committerGravatar GitHub <noreply@github.com>2018-06-26 14:57:40 -0700
commitd03050653ff84e624def93aa512ef35907f5792a (patch)
treecef0fb6ef7e28a3302e1578f83a8fd8d57099eba /Firestore/third_party
parentae7078ca2bdd362df43e5fdba0261c5c84c1b447 (diff)
Install googletest (#1461)
Also add FindGMock to Find gmock after installation
Diffstat (limited to 'Firestore/third_party')
-rw-r--r--Firestore/third_party/abseil-cpp/CMakeLists.txt12
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()