Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GTEST to fix gcc 11.2 issues #914

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions third_party/gtest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG 6a7ed316a5cdc07b6d26362c90770787513822d4
GIT_TAG master
)
# need to set the variables in CACHE due to CMP0077
set(gtest_disable_pthreads ON CACHE INTERNAL "")
Expand All @@ -22,4 +22,4 @@ set_target_properties(gtest gtest_main PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${GINKGO_LIBRARY_PATH}")
# by default, the outdated targets are not being exported
add_library(GTest::Main ALIAS gtest_main)
add_library(GTest::GTest ALIAS gtest)
add_library(GTest::GTest ALIAS gtest)