summaryrefslogtreecommitdiffstats
path: root/logd/src/tests/watcher/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'logd/src/tests/watcher/CMakeLists.txt')
-rw-r--r--logd/src/tests/watcher/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/logd/src/tests/watcher/CMakeLists.txt b/logd/src/tests/watcher/CMakeLists.txt
index 0bf0a574fa9..42fddae48b3 100644
--- a/logd/src/tests/watcher/CMakeLists.txt
+++ b/logd/src/tests/watcher/CMakeLists.txt
@@ -1,9 +1,10 @@
# Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+find_package(GTest REQUIRED)
vespa_add_executable(logd_watcher_test_app TEST
SOURCES
watcher_test.cpp
DEPENDS
logd
- gtest
+ GTest::GTest
)
vespa_add_test(NAME logd_watcher_test_app COMMAND logd_watcher_test_app)