diff --git a/.gitmodules b/.gitmodules index bd4e9f6d98..47b40b9ee9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -14,7 +14,6 @@ [submodule "gtest"] path = gtest url = https://github.com/google/googletest.git - branch = v1.8.x [submodule "cpptoml"] path = cpptoml url = https://github.com/cryptocode/cpptoml.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c86e995b2..16b89f1a36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -579,6 +579,8 @@ if(NANO_TEST OR RAIBLOCKS_TEST) add_subdirectory(nano/load_test) + # FIXME: This fixes googletest GOOGLETEST_VERSION requirement + set(GOOGLETEST_VERSION 1.11.0) add_subdirectory(gtest/googletest) # FIXME: This fixes gtest include directories without modifying gtest's # CMakeLists.txt. Ideally we should use GTest::GTest and GTest::Main as diff --git a/gtest b/gtest index 703bd9caab..e2239ee604 160000 --- a/gtest +++ b/gtest @@ -1 +1 @@ -Subproject commit 703bd9caab50b139428cea1aaff9974ebee5742e +Subproject commit e2239ee6043f73722e7aa812a459f54a28552929