summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/attribute/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/attribute/CMakeLists.txt')
-rw-r--r--searchcore/src/tests/proton/attribute/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/attribute/CMakeLists.txt b/searchcore/src/tests/proton/attribute/CMakeLists.txt
index c23d97c6e88..95f55c28f18 100644
--- a/searchcore/src/tests/proton/attribute/CMakeLists.txt
+++ b/searchcore/src/tests/proton/attribute/CMakeLists.txt
@@ -1,4 +1,5 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+find_package(GTest REQUIRED)
vespa_add_executable(searchcore_attribute_test_app TEST
SOURCES
attribute_test.cpp
@@ -8,7 +9,7 @@ vespa_add_executable(searchcore_attribute_test_app TEST
searchcore_flushengine
searchcore_pcommon
searchlib_test
- gtest
+ GTest::GTest
)
vespa_add_test(NAME searchcore_attribute_test_app COMMAND searchcore_attribute_test_app)