From b587d420d993b3a6655c9153558502f5aa5c6e2f Mon Sep 17 00:00:00 2001 From: Harsh Patel <32810455+Harsh-patel00@users.noreply.github.com> Date: Fri, 27 Feb 2026 11:00:32 +0530 Subject: [PATCH] Change googletest GIT_TAG from master to main Since 'master' branch on the 'https://github.com/google/googletest' repo does not exist, CMake was failing to clone the repo using 'CMakeLists.txt.googletest' file. Changing the GIT_TAG to 'main' solves this problem by correctly referencing the main branch. --- CMakeLists.txt.googletest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt.googletest b/CMakeLists.txt.googletest index f98ccb4..37b622b 100644 --- a/CMakeLists.txt.googletest +++ b/CMakeLists.txt.googletest @@ -5,11 +5,11 @@ project(googletest-download NONE) include(ExternalProject) ExternalProject_Add(googletest GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG master + GIT_TAG main SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src" BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" TEST_COMMAND "" -) \ No newline at end of file +)