summaryrefslogtreecommitdiffstats
path: root/storageframework/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'storageframework/src/tests/CMakeLists.txt')
-rw-r--r--storageframework/src/tests/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/storageframework/src/tests/CMakeLists.txt b/storageframework/src/tests/CMakeLists.txt
index d658605a911..1cf40b8a2ef 100644
--- a/storageframework/src/tests/CMakeLists.txt
+++ b/storageframework/src/tests/CMakeLists.txt
@@ -1,5 +1,7 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+find_package(GTest REQUIRED)
+
# Runner for unit tests written in gtest.
# NOTE: All new test classes should be added here.
vespa_add_executable(storageframework_gtest_runner_app TEST
@@ -8,7 +10,7 @@ vespa_add_executable(storageframework_gtest_runner_app TEST
DEPENDS
storageframework_testclock
storageframework_testthread
- gtest
+ GTest::GTest
)
vespa_add_test(