summaryrefslogtreecommitdiffstats
path: root/vdslib/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vdslib/src/tests/CMakeLists.txt')
-rw-r--r--vdslib/src/tests/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/vdslib/src/tests/CMakeLists.txt b/vdslib/src/tests/CMakeLists.txt
index f552808f97c..458f3bda01d 100644
--- a/vdslib/src/tests/CMakeLists.txt
+++ b/vdslib/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(vdslib_gtest_runner_app TEST
@@ -11,7 +13,7 @@ vespa_add_executable(vdslib_gtest_runner_app TEST
vdslib_testdistribution
vdslib_teststate
vdslib_testthread
- gtest
+ GTest::GTest
)
vespa_add_test(