Skip to content

Commit

Permalink
Merge pull request #688 from dstoup/patch-gtest-gcc11
Browse files Browse the repository at this point in the history
Patch gtest gcc11
  • Loading branch information
dstoup authored May 26, 2021
2 parents 929b107 + c0bcc41 commit dfab2d2
Show file tree
Hide file tree
Showing 3 changed files with 1,587 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Doc/release-notes/v1.5.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Updates since v1.4.1

* Patch VTK 8.2 to fix a compilation issue with gcc 10 in ThridParty/exoduxII
* Patch VTK 8.x to fix a compilation issue with gcc 10.2 where the regex fails to detect the gcc version correctly.

* Patch GTest to fix maybe-uninitialized error build Debug mode with gcc11.

Updates since v1.4.0
--------------------
Expand Down
12 changes: 11 additions & 1 deletion Patches/GTest/Patch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,14 @@ foreach(dir googletest googlemock)
file(COPY ${GTest_patch}/${dir}/CMakeLists.txt DESTINATION ${GTest_source}/${dir})
endforeach()

file(COPY ${GTest_patch}/googletest/cmake/internal_utils.cmake DESTINATION ${GTest_source}/googletest/cmake)
file(COPY
${GTest_patch}/googletest/cmake/internal_utils.cmake
DESTINATION
${GTest_source}/googletest/cmake
)

file(COPY
${GTest_patch}/googletest/src/gtest-death-test.cc
DESTINATION
${GTest_source}/googletest/src/
)
Loading

0 comments on commit dfab2d2

Please sign in to comment.