diff --git a/test/gtest/CMakeLists.txt b/test/gtest/CMakeLists.txt
index b2080877f255863fa5eac5997219acdae08bcd8e..df2f89d7a9d6130176a814e16074955d8fc435dc 100644
--- a/test/gtest/CMakeLists.txt
+++ b/test/gtest/CMakeLists.txt
@@ -53,7 +53,7 @@ else()
   FetchContent_Declare(
     googletest
     GIT_REPOSITORY https://github.com/google/googletest.git 
-    GIT_TAG main)
+    GIT_TAG v1.8.x)
 
   SET(INSTALL_GTEST OFF) # Disable installation of googletest
   FetchContent_MakeAvailable(googletest)