summaryrefslogtreecommitdiffstats
path: root/vdslib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-07-07 14:56:59 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-07-07 15:00:09 +0200
commit4e5858cdda13f65630298781ed9c2e34e70e8439 (patch)
treef5cd34c871dec2d014cfc06cf3a9645ad3e382d7 /vdslib
parentdd53e53f64a207d6efd16ab147f70448cf91085f (diff)
Consolidate search for GTest.
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/tests/CMakeLists.txt2
-rw-r--r--vdslib/src/tests/bucketdistribution/CMakeLists.txt1
-rw-r--r--vdslib/src/tests/container/CMakeLists.txt1
-rw-r--r--vdslib/src/tests/distribution/CMakeLists.txt1
-rw-r--r--vdslib/src/tests/state/CMakeLists.txt1
-rw-r--r--vdslib/src/tests/thread/CMakeLists.txt1
6 files changed, 0 insertions, 7 deletions
diff --git a/vdslib/src/tests/CMakeLists.txt b/vdslib/src/tests/CMakeLists.txt
index 458f3bda01d..ba5f0f9c08d 100644
--- a/vdslib/src/tests/CMakeLists.txt
+++ b/vdslib/src/tests/CMakeLists.txt
@@ -1,7 +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)
-
# Runner for unit tests written in gtest.
# NOTE: All new test classes should be added here.
vespa_add_executable(vdslib_gtest_runner_app TEST
diff --git a/vdslib/src/tests/bucketdistribution/CMakeLists.txt b/vdslib/src/tests/bucketdistribution/CMakeLists.txt
index 986a7ff26ff..79ca63b72f2 100644
--- a/vdslib/src/tests/bucketdistribution/CMakeLists.txt
+++ b/vdslib/src/tests/bucketdistribution/CMakeLists.txt
@@ -1,5 +1,4 @@
# 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_library(vdslib_bucketdistributiontest
SOURCES
bucketdistributiontest.cpp
diff --git a/vdslib/src/tests/container/CMakeLists.txt b/vdslib/src/tests/container/CMakeLists.txt
index 47ffbcf7b82..eab09b3e4c9 100644
--- a/vdslib/src/tests/container/CMakeLists.txt
+++ b/vdslib/src/tests/container/CMakeLists.txt
@@ -1,5 +1,4 @@
# 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_library(vdslib_containertest
SOURCES
parameterstest.cpp
diff --git a/vdslib/src/tests/distribution/CMakeLists.txt b/vdslib/src/tests/distribution/CMakeLists.txt
index 61563c4c448..d2af1924793 100644
--- a/vdslib/src/tests/distribution/CMakeLists.txt
+++ b/vdslib/src/tests/distribution/CMakeLists.txt
@@ -1,5 +1,4 @@
# 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_library(vdslib_testdistribution
SOURCES
distributiontest.cpp
diff --git a/vdslib/src/tests/state/CMakeLists.txt b/vdslib/src/tests/state/CMakeLists.txt
index d28ff47798a..20143ec1cee 100644
--- a/vdslib/src/tests/state/CMakeLists.txt
+++ b/vdslib/src/tests/state/CMakeLists.txt
@@ -1,5 +1,4 @@
# 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_library(vdslib_teststate
SOURCES
cluster_state_bundle_test.cpp
diff --git a/vdslib/src/tests/thread/CMakeLists.txt b/vdslib/src/tests/thread/CMakeLists.txt
index df2e8bf43f9..bf2c8a41c9b 100644
--- a/vdslib/src/tests/thread/CMakeLists.txt
+++ b/vdslib/src/tests/thread/CMakeLists.txt
@@ -1,5 +1,4 @@
# 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_library(vdslib_testthread
SOURCES
taskschedulertest.cpp