Skip to content

Commit

Permalink
Update GoogleTest to release 1.11.0 (#3352)
Browse files Browse the repository at this point in the history
* Update GoogleTest to release 1.11.0

* Explicitly set GOOGLETEST_VERSION

* Update .gitmodules
  • Loading branch information
SergiySW committed Jun 25, 2021
1 parent 4cd88f7 commit ec2f62e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,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
Expand Down
2 changes: 1 addition & 1 deletion gtest
Submodule gtest updated 200 files

0 comments on commit ec2f62e

Please sign in to comment.