summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Federico Scrinzi <federico.scrinzi@gmail.com>2021-11-16 19:32:20 +0100
committerGravatar GitHub <noreply@github.com>2021-11-16 13:32:20 -0500
commit9b924cedb6127dfb8f5d504a419dead2899fa777 (patch)
treed27ebe2dbc6bc0539e15926c2db03069902f62e0 /CMakeLists.txt
parentd587c966ed86dc3b94362444e2b20fc3c5c4224e (diff)
Fix googletest URL in CMakeLists.txt (#1062)
The git branch was renamed from "master" to "main".
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d59c2ade..a1400b74 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -146,7 +146,7 @@ if(BUILD_TESTING)
message(FATAL_ERROR "Do not set both ABSL_USE_GOOGLETEST_HEAD and ABSL_GOOGLETEST_DOWNLOAD_URL")
endif()
if(ABSL_USE_GOOGLETEST_HEAD)
- set(absl_gtest_download_url "https://github.com/google/googletest/archive/master.zip")
+ set(absl_gtest_download_url "https://github.com/google/googletest/archive/main.zip")
elseif(ABSL_GOOGLETEST_DOWNLOAD_URL)
set(absl_gtest_download_url ${ABSL_GOOGLETEST_DOWNLOAD_URL})
endif()