summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentmetastore/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/documentmetastore/CMakeLists.txt')
-rw-r--r--searchcore/src/tests/proton/documentmetastore/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/documentmetastore/CMakeLists.txt b/searchcore/src/tests/proton/documentmetastore/CMakeLists.txt
index f31d82240e0..c35d736acd1 100644
--- a/searchcore/src/tests/proton/documentmetastore/CMakeLists.txt
+++ b/searchcore/src/tests/proton/documentmetastore/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_documentmetastore_test_app TEST
SOURCES
documentmetastore_test.cpp
@@ -9,7 +10,7 @@ vespa_add_executable(searchcore_documentmetastore_test_app TEST
searchcore_attribute
searchcore_feedoperation
searchcore_fconfig
- gtest
+ GTest::GTest
)
vespa_add_test(NAME searchcore_documentmetastore_test_app COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/documentmetastore_test.sh
DEPENDS searchcore_documentmetastore_test_app)