Skip to content

Commit 1e6c046

Browse files
committed
backports of open PRs
1 parent 214a262 commit 1e6c046

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

builtins/gtest/CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ if(APPLE)
5050
-DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT})
5151
endif()
5252

53+
set(ROOT_GOOGLETEST_VERSION 1.17.0) # https://github.com/google/googletest/releases/tag/v1.17.0 Date: Apr 30, 2025
54+
set(ROOT_GOOGLETEST_HASH "65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c")
5355
ExternalProject_Add(
5456
googletest
55-
GIT_REPOSITORY https://github.com/google/googletest.git
56-
GIT_SHALLOW 1
57-
GIT_TAG v1.17.0
57+
# GIT_REPOSITORY https://github.com/google/googletest.git
58+
# GIT_SHALLOW 1
59+
# GIT_TAG v1.17.0
60+
URL ${lcgpackages}/googletest-${ROOT_GOOGLETEST_VERSION}.tar.gz
61+
URL_HASH SHA256=${ROOT_GOOGLETEST_HASH}
5862
UPDATE_COMMAND ""
5963
# # Force separate output paths for debug and release builds to allow easy
6064
# # identification of correct lib in subsequent TARGET_LINK_LIBRARIES commands

0 commit comments

Comments
 (0)