summaryrefslogtreecommitdiffstats
path: root/fbench
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-06-29 14:53:04 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-06-29 14:53:04 +0200
commit5079736a0277175f888cee27d5cb3f905fb09029 (patch)
tree818289091620a428d5c9f01f66bfe2afb636ad8c /fbench
parenta58193603b25fbf75fac825aa44e789cb711e70c (diff)
Use find_package to find gtest library.
Diffstat (limited to 'fbench')
-rw-r--r--fbench/src/test/authority/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/fbench/src/test/authority/CMakeLists.txt b/fbench/src/test/authority/CMakeLists.txt
index 00f804f43f6..09c1152383e 100644
--- a/fbench/src/test/authority/CMakeLists.txt
+++ b/fbench/src/test/authority/CMakeLists.txt
@@ -1,10 +1,11 @@
# Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+find_package(GTest REQUIRED)
vespa_add_executable(fbench_authority_test_app TEST
SOURCES
authority_test.cpp
DEPENDS
fbench_util
vespalib
- gtest
+ GTest::GTest
)
vespa_add_test(NAME fbench_authority_test_app COMMAND fbench_authority_test_app)