diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-06-29 14:53:04 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-06-29 14:53:04 +0200 |
commit | 5079736a0277175f888cee27d5cb3f905fb09029 (patch) | |
tree | 818289091620a428d5c9f01f66bfe2afb636ad8c /searchcore/src/tests/proton/reprocessing/attribute_reprocessing_initializer/CMakeLists.txt | |
parent | a58193603b25fbf75fac825aa44e789cb711e70c (diff) |
Use find_package to find gtest library.
Diffstat (limited to 'searchcore/src/tests/proton/reprocessing/attribute_reprocessing_initializer/CMakeLists.txt')
-rw-r--r-- | searchcore/src/tests/proton/reprocessing/attribute_reprocessing_initializer/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/reprocessing/attribute_reprocessing_initializer/CMakeLists.txt b/searchcore/src/tests/proton/reprocessing/attribute_reprocessing_initializer/CMakeLists.txt index 048ed1938e5..f96a31b7765 100644 --- a/searchcore/src/tests/proton/reprocessing/attribute_reprocessing_initializer/CMakeLists.txt +++ b/searchcore/src/tests/proton/reprocessing/attribute_reprocessing_initializer/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(searchcore_attribute_reprocessing_initializer_test_app TEST SOURCES attribute_reprocessing_initializer_test.cpp @@ -6,6 +7,6 @@ vespa_add_executable(searchcore_attribute_reprocessing_initializer_test_app TEST searchcore_reprocessing searchcore_attribute searchcore_pcommon - gtest + GTest::GTest ) vespa_add_test(NAME searchcore_attribute_reprocessing_initializer_test_app COMMAND searchcore_attribute_reprocessing_initializer_test_app) |