From 05a38915d642a3f296ff041230a6945d703a268a Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Thu, 5 Jan 2023 12:57:05 -0800 Subject: [PATCH] cmake: Update googletest. --- cmake/FindGoogleTest.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/FindGoogleTest.cmake b/cmake/FindGoogleTest.cmake index 0e6d26317..ed99706ff 100644 --- a/cmake/FindGoogleTest.cmake +++ b/cmake/FindGoogleTest.cmake @@ -11,18 +11,18 @@ # GTest_FOUND - Found GTest # GTest::GTest - GTest library -find_package(GTest 1.10.0) +find_package(GTest 1.12.1) if(NOT GTest_FOUND OR NOT TARGET GTest::gtest_main) include(ExternalProject) - set(GTest_VERSION "1.10.0") + set(GTest_VERSION "1.12.1") ExternalProject_Add( GTest-EP PREFIX "${CMAKE_BINARY_DIR}/deps" URL https://github.com/google/googletest/archive/refs/tags/release-${GTest_VERSION}.tar.gz - URL_HASH SHA1=9c89be7df9c5e8cb0bc20b3c4b39bf7e82686770 + URL_HASH SHA1=cdddd449d4e3aa7bd421d4519c17139ea1890fe7 DOWNLOAD_NAME gtest.tar.gz CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=