diff options
Diffstat (limited to 'cmake/external/googletest.cmake')
-rw-r--r-- | cmake/external/googletest.cmake | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/cmake/external/googletest.cmake b/cmake/external/googletest.cmake index 23a57f8..24da386 100644 --- a/cmake/external/googletest.cmake +++ b/cmake/external/googletest.cmake @@ -13,18 +13,14 @@ # limitations under the License. include(ExternalProject) -include(ExternalProjectFlags) - -ExternalProject_GitSource( - GOOGLETEST_GIT - GIT_REPOSITORY "https://github.com/google/googletest.git" - GIT_TAG "release-1.8.0" -) ExternalProject_Add( googletest - ${GOOGLETEST_GIT} + DOWNLOAD_DIR ${PROJECT_BINARY_DIR}/downloads + DOWNLOAD_NAME googletest-1.8.0.tar.gz + URL https://github.com/google/googletest/archive/release-1.8.0.tar.gz + URL_HASH SHA256=58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8 PREFIX ${PROJECT_BINARY_DIR}/external/googletest |