summaryrefslogtreecommitdiff
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-13 15:38:35 +0100
committerBrad King <brad.king@kitware.com>2019-03-14 13:44:15 -0400
commit98e6822fdf02d74e1b3e3ff4b1e7ac27138654c9 (patch)
tree702f162756b5fc2cb4f2149207ab29c84da3e12f /Modules/ExternalProject.cmake
parent7358f317e356dff8ef2c1cdd216b9e6063cd4d9a (diff)
downloadcmake-98e6822fdf02d74e1b3e3ff4b1e7ac27138654c9.tar.gz
ExternalProject: Re-run 'git clone' when GIT_REMOTE_NAME changes
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 22e052334b..5705b3aab9 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"