summaryrefslogtreecommitdiffstats
path: root/storageapi/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'storageapi/src/tests/CMakeLists.txt')
-rw-r--r--storageapi/src/tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/storageapi/src/tests/CMakeLists.txt b/storageapi/src/tests/CMakeLists.txt
index 8b820adb467..f07b9d0a2bc 100644
--- a/storageapi/src/tests/CMakeLists.txt
+++ b/storageapi/src/tests/CMakeLists.txt
@@ -1,5 +1,6 @@
# 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(storageapi_gtest_runner_app TEST
SOURCES
gtest_runner.cpp
@@ -8,7 +9,7 @@ vespa_add_executable(storageapi_gtest_runner_app TEST
storageapi_testmbusprot
storageapi_testmessageapi
storageapi
- gtest
+ GTest::GTest
)
vespa_add_test(