diff options
author | Craig Scott <craig.scott@crascit.com> | 2023-05-21 12:07:32 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2023-05-23 12:39:44 (GMT) |
commit | 8cc45e150a8b95067a5ef09a2350dcd6f3124c7a (patch) | |
tree | fff8685656410e1f002a1db05c61adfb4c597bb0 /Modules | |
parent | 1512dc43cba72c499873b39949b4f2cce772d825 (diff) | |
download | CMake-8cc45e150a8b95067a5ef09a2350dcd6f3124c7a.zip CMake-8cc45e150a8b95067a5ef09a2350dcd6f3124c7a.tar.gz CMake-8cc45e150a8b95067a5ef09a2350dcd6f3124c7a.tar.bz2 |
ExternalProject: Make hg download method respect UPDATE_DISCONNECTED
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/ExternalProject.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 61851aa..bac126c 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -3379,6 +3379,7 @@ function(_ep_add_update_command name) endif() set(work_dir ${source_dir}) set(comment "Performing update step (hg pull) for '${name}'") + set(comment_disconnected "Performing disconnected update step for '${name}'") get_property(hg_tag TARGET ${name} @@ -3404,6 +3405,7 @@ Update to Mercurial >= 2.1.1. ${HG_EXECUTABLE} pull COMMAND ${HG_EXECUTABLE} update ${hg_tag} ) + set(cmd_disconnected ${HG_EXECUTABLE} update ${hg_tag}) set(always 1) endif() |