File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,11 +50,15 @@ if(APPLE)
5050 -DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT} )
5151endif ()
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" )
5355ExternalProject_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
You can’t perform that action at this time.
0 commit comments