summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBartosz Kosiorek <bartosz.kosiorek@tomtom.com>2019-03-13 14:38:35 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-14 17:44:15 (GMT)
commit98e6822fdf02d74e1b3e3ff4b1e7ac27138654c9 (patch)
tree702f162756b5fc2cb4f2149207ab29c84da3e12f /Modules/ExternalProject.cmake
parent7358f317e356dff8ef2c1cdd216b9e6063cd4d9a (diff)
downloadCMake-98e6822fdf02d74e1b3e3ff4b1e7ac27138654c9.zip
CMake-98e6822fdf02d74e1b3e3ff4b1e7ac27138654c9.tar.gz
CMake-98e6822fdf02d74e1b3e3ff4b1e7ac27138654c9.tar.bz2
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 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"