From 2f9350108cc088b9501de8fb3dc1cd1ca0b1a248 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Thu, 1 Sep 2022 14:52:36 +0200 Subject: [PATCH] Use commit hash instead of version tag When using the commit hash it is possible to check if a download is really needed. Only in the case the hash has changed the external project command is executed. --- external/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index e5518e8111..5ffec8bdb9 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -24,7 +24,7 @@ if(DOWNLOAD_EXTERNALS) download_project_if_needed(PROJECT gsl GIT_REPOSITORY "https://github.com/microsoft/GSL.git" - GIT_TAG "v4.0.0" + GIT_TAG "a3534567187d2edc428efd3f13466ff75fe5805c" SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/GSL ) set(GSL_INCLUDE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/GSL/include PARENT_SCOPE) @@ -44,7 +44,7 @@ if(DOWNLOAD_EXTERNALS) download_project_if_needed(PROJECT xpu GIT_REPOSITORY "https://github.com/fweig/xpu" - GIT_TAG "v0.7.2" + GIT_TAG "00fd050b65d5798800517710fbc241c062acd927" SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/xpu CONFIGURE_COMMAND "" BUILD_COMMAND "" -- GitLab