summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/time/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/time/CMakeLists.txt')
-rw-r--r--vespalib/src/tests/time/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/vespalib/src/tests/time/CMakeLists.txt b/vespalib/src/tests/time/CMakeLists.txt
index e43bd9097e5..ba639f2392e 100644
--- a/vespalib/src/tests/time/CMakeLists.txt
+++ b/vespalib/src/tests/time/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(vespalib_time_box_test_app TEST
SOURCES
time_box_test.cpp
@@ -11,6 +12,6 @@ vespa_add_executable(vespalib_time_test_app TEST
time_test.cpp
DEPENDS
vespalib
- gtest
+ GTest::GTest
)
vespa_add_test(NAME vespalib_time_test_app COMMAND vespalib_time_test_app)