aboutsummaryrefslogtreecommitdiff
path: root/third_party/abseil-cpp/CMake/Googletest/CMakeLists.txt.in
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/abseil-cpp/CMake/Googletest/CMakeLists.txt.in')
-rw-r--r--third_party/abseil-cpp/CMake/Googletest/CMakeLists.txt.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/third_party/abseil-cpp/CMake/Googletest/CMakeLists.txt.in b/third_party/abseil-cpp/CMake/Googletest/CMakeLists.txt.in
index 5769e3a97b..d60a33e9ac 100644
--- a/third_party/abseil-cpp/CMake/Googletest/CMakeLists.txt.in
+++ b/third_party/abseil-cpp/CMake/Googletest/CMakeLists.txt.in
@@ -1,14 +1,15 @@
cmake_minimum_required(VERSION 2.8.2)
-project(googletest-external NONE)
+project(googletest-download NONE)
include(ExternalProject)
ExternalProject_Add(googletest
- URL "${absl_gtest_download_url}" # May be empty
- SOURCE_DIR "${absl_gtest_src_dir}"
- BINARY_DIR "${absl_gtest_build_dir}"
+ GIT_REPOSITORY https://github.com/google/googletest.git
+ GIT_TAG master
+ SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src"
+ BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
-)
+) \ No newline at end of file