Update gtest to current main branch

From their readme

> GoogleTest now follows the Abseil Live at Head philosophy. We
> recommend updating to the latest commit in the main branch as often as
> possible. We do publish occasional semantic versions, tagged with
> v${major}.${minor}.${patch} (e.g. v1.14.0).

3d73dee972/README.md (live-at-head)
This commit is contained in:
ChillerDragon 2024-04-09 16:51:15 +08:00
parent e263ce9bdc
commit aa34ebe7be

View file

@ -764,7 +764,7 @@ endif()
########################################################################
if(NOT(GTEST_FOUND) AND DOWNLOAD_GTEST)
set(DDNET_GTEST_VERSION v1.13.0)
set(DDNET_GTEST_VERSION 3d73dee972d0db344bda9b659836612aba6a3564)
configure_file(cmake/Download_GTest_CMakeLists.txt.in googletest-download/CMakeLists.txt)
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .
RESULT_VARIABLE result