Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Use Debian's gtest, don't download anything
--- seqan3.orig/test/seqan3-test.cmake
+++ seqan3/test/seqan3-test.cmake
@@ -87,6 +87,7 @@
 list (APPEND SEQAN3_EXTERNAL_PROJECT_CMAKE_ARGS "-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}")
 list (APPEND SEQAN3_EXTERNAL_PROJECT_CMAKE_ARGS "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
 list (APPEND SEQAN3_EXTERNAL_PROJECT_CMAKE_ARGS "-DCMAKE_INSTALL_PREFIX=${PROJECT_BINARY_DIR}")
+list (APPEND SEQAN3_EXTERNAL_PROJECT_CMAKE_ARGS "-DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE_MAKEFILE}")
 
 # ----------------------------------------------------------------------------
 # Commonly used macros for the different test modules in seqan3.
@@ -223,12 +224,8 @@
     ExternalProject_Add (
         gtest_project
         PREFIX gtest_project
-        GIT_REPOSITORY "https://github.com/google/googletest.git"
-        # we currently have warnings that were introduced in
-        # 03867b5389516a0f185af52672cf5472fa0c159c, which are still available
-        # in "release-1.8.1", see https://github.com/google/googletest/issues/1419
-        GIT_TAG "52f8183e7f3620cf03f321a2624eb0d4f7649f4c"
-        SOURCE_DIR "${SEQAN3_TEST_CLONE_DIR}"
+	DOWNLOAD_COMMAND ""
+        SOURCE_DIR "/usr/src/googletest/"
         CMAKE_ARGS "${gtest_project_args}"
         BUILD_BYPRODUCTS "${gtest_main_path}" "${gtest_path}"
         UPDATE_DISCONNECTED yes
