1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-21 04:30:53 +00:00

bump gtest on windows to 1.11 to support C++20; thanks to AnyOldName3

This commit is contained in:
Bret Curtis 2022-03-02 11:07:58 +01:00
parent 336ac1ce30
commit da88817227

View file

@ -608,12 +608,12 @@ if [ -z $SKIP_DOWNLOAD ]; then
"LuaJIT-2.1.0-beta3-msvc${MSVC_REAL_YEAR}-win${BITS}.7z"
# Google test and mock
if [ ! -z $TEST_FRAMEWORK ]; then
echo "Google test 1.10.0..."
if [ -n "$TEST_FRAMEWORK" ]; then
echo "Google test 1.11.0..."
if [ -d googletest ]; then
printf " Google test exists, skipping."
else
git clone -b release-1.10.0 https://github.com/google/googletest.git
git clone -b release-1.11.0 https://github.com/google/googletest.git
fi
fi
@ -1002,8 +1002,8 @@ printf "LuaJIT 2.1.0-beta3... "
cd $DEPS
echo
# Google Test and Google Mock
if [ ! -z $TEST_FRAMEWORK ]; then
printf "Google test 1.10.0 ..."
if [ -n "$TEST_FRAMEWORK" ]; then
printf "Google test 1.11.0 ..."
cd googletest
mkdir -p build${MSVC_REAL_YEAR}