summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/common/hostreporter/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/common/hostreporter/CMakeLists.txt')
-rw-r--r--storage/src/tests/common/hostreporter/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/src/tests/common/hostreporter/CMakeLists.txt b/storage/src/tests/common/hostreporter/CMakeLists.txt
index 2fcb159cb08..4328b8156e6 100644
--- a/storage/src/tests/common/hostreporter/CMakeLists.txt
+++ b/storage/src/tests/common/hostreporter/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_library(storage_testhostreporter TEST
SOURCES
util.cpp
@@ -14,7 +15,7 @@ vespa_add_executable(storage_hostreporter_gtest_runner_app TEST
DEPENDS
storage
storage_testhostreporter
- gtest
+ GTest::GTest
)
vespa_add_test(