summaryrefslogtreecommitdiffstats
path: root/documentapi
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2020-06-30 10:43:26 +0200
committerGitHub <noreply@github.com>2020-06-30 10:43:26 +0200
commit585277f10eface94cd1b474bb59d40fc7e5f5cac (patch)
tree1d941ba381cb88fd5c067854b78f7b4278e215f3 /documentapi
parent41bdf5a8939faec9fe68db3f6fcd81d733123aa4 (diff)
parent5079736a0277175f888cee27d5cb3f905fb09029 (diff)
Merge pull request #13742 from vespa-engine/toregge/use-find-package-to-find-gtest
Use find_package to find gtest library.
Diffstat (limited to 'documentapi')
-rw-r--r--documentapi/src/tests/loadtypes/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/documentapi/src/tests/loadtypes/CMakeLists.txt b/documentapi/src/tests/loadtypes/CMakeLists.txt
index 495c05c0e43..3e3e64310f8 100644
--- a/documentapi/src/tests/loadtypes/CMakeLists.txt
+++ b/documentapi/src/tests/loadtypes/CMakeLists.txt
@@ -1,10 +1,11 @@
# 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(documentapi_loadtype_test_app TEST
SOURCES
loadtypetest.cpp
DEPENDS
documentapi
vdstestlib
- gtest
+ GTest::GTest
)
vespa_add_test(NAME documentapi_loadtype_test_app COMMAND documentapi_loadtype_test_app)