summaryrefslogtreecommitdiff
path: root/absl/utility/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Florin Crișan <florin.crisan@gmail.com>2021-06-10 02:26:40 +0300
committerGravatar GitHub <noreply@github.com>2021-06-09 19:26:40 -0400
commit8f92175783c9685045c50f227e7c10f1cddb4d58 (patch)
tree596ca145e582da14305a9b9d6723ec649448bedd /absl/utility/CMakeLists.txt
parentf72972654b69085b1d58fde04c618b77d3ac6935 (diff)
CMake: add option to use Google Test already installed on system (#969)
As of this change, you can use `-DABSL_USE_EXTERNAL_GOOGLETEST=ON -DABSL_FIND_GOOGLETEST=ON` to have Abseil use the standard CMake find_package(GTest) mechanism.
Diffstat (limited to 'absl/utility/CMakeLists.txt')
-rw-r--r--absl/utility/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/utility/CMakeLists.txt b/absl/utility/CMakeLists.txt
index e1edd19a..865b758f 100644
--- a/absl/utility/CMakeLists.txt
+++ b/absl/utility/CMakeLists.txt
@@ -40,5 +40,5 @@ absl_cc_test(
absl::core_headers
absl::memory
absl::strings
- gmock_main
+ GTest::gmock_main
)