Sfoglia il codice sorgente

ExternalProject: Re-run 'git clone' when GIT_REMOTE_NAME changes

Bartosz Kosiorek 6 anni fa
parent
commit
98e6822fdf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Modules/ExternalProject.cmake

+ 1 - 1
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"