Commit 9b924ced by Federico Scrinzi Committed by GitHub

Fix googletest URL in CMakeLists.txt (#1062)

The git branch was renamed from "master" to "main".
parent d587c966
...@@ -146,7 +146,7 @@ if(BUILD_TESTING) ...@@ -146,7 +146,7 @@ if(BUILD_TESTING)
message(FATAL_ERROR "Do not set both ABSL_USE_GOOGLETEST_HEAD and ABSL_GOOGLETEST_DOWNLOAD_URL") message(FATAL_ERROR "Do not set both ABSL_USE_GOOGLETEST_HEAD and ABSL_GOOGLETEST_DOWNLOAD_URL")
endif() endif()
if(ABSL_USE_GOOGLETEST_HEAD) 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) elseif(ABSL_GOOGLETEST_DOWNLOAD_URL)
set(absl_gtest_download_url ${ABSL_GOOGLETEST_DOWNLOAD_URL}) set(absl_gtest_download_url ${ABSL_GOOGLETEST_DOWNLOAD_URL})
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment