rom-properties/extlib/googletest/_MODIFIED_GTEST.txt
David Korth 589e71670e [googletest] Add workaround to fix the build on Debian 8. (gcc-4.9)
gcc-4.9 doesn't support std::is_trivially_copy_constructible<T> or
std::is_trivially_destructible<T>, so use __has_trivial_copy(T)
and __has_trivial_destructor(T) on old gcc.

It's not a perfect fix, but it gets the code to compile.

(I'm using Debian 8 to test big-endian using qemu-system-ppc.
Surprisingly, it's faster than Wii U Linux, even with all of
the CPU emulation overhead!)
2024-03-10 01:44:38 -05:00

36 lines
1.3 KiB
Plaintext
Vendored

This copy of googletest-1.12.1 is a modified version of the original.
commit 58d77fa8070e8cec2dc1ed015d66b454c8d78850 (HEAD, tag: release-1.12.1, origin/v1.12.x)
Author: Derek Mauro <761129+derekmauro@users.noreply.github.com>
Date: Mon Jun 27 13:14:55 2022 -0400
Updates the version number in CMakeLists.txt to 1.12.1 (#3919)
Due to an oversight version 1.12.0 didn't update the version in
CMakeLists.txt. A patch release will fix this issue.
I've also added a note to instructions for creating a release to check
for this issue.
The following changes have been made to the original:
- Disabled INSTALL() rules.
- Forced static library builds.
- Disabled some options for enabling unit tests and other
settings that aren't necessary for rom-properties.
- cmake_minimum_required() is disabled, since it interfered with
policies set by the main build infrastructure.
- Removed test suites, scripts, and Xcode projects in order to reduce
warnings on LGTM.
- Add a workaround for std::is_trivially_copy_constructible<T> and
std::is_trivially_destructible<T> not being implemented in gcc-4.9.
(They were added in gcc-5.) Fixes the build on Debian 8.
To obtain the original googletest-1.12.1, visit:
https://github.com/google/googletest