From 98e6822fdf02d74e1b3e3ff4b1e7ac27138654c9 Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Wed, 13 Mar 2019 15:38:35 +0100 Subject: ExternalProject: Re-run 'git clone' when GIT_REMOTE_NAME changes --- Modules/ExternalProject.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 22e0523..5705b3a 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -2460,7 +2460,7 @@ function(_ep_add_download_command name) # set(repository ${git_repository}) set(module) - set(tag) + set(tag ${git_remote_name}) configure_file( "${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in" "${stamp_dir}/${name}-gitinfo.txt" -- cgit v0.12