Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
cmake: Update googletest.
Browse files Browse the repository at this point in the history
  • Loading branch information
aniemetz committed Jan 5, 2023
1 parent d4a84b7 commit 05a3891
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/FindGoogleTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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=<INSTALL_DIR>
Expand Down

0 comments on commit 05a3891

Please sign in to comment.