mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
ExternalProject: Make hg download method respect UPDATE_DISCONNECTED
This commit is contained in:
@@ -3379,6 +3379,7 @@ function(_ep_add_update_command name)
|
|||||||
endif()
|
endif()
|
||||||
set(work_dir ${source_dir})
|
set(work_dir ${source_dir})
|
||||||
set(comment "Performing update step (hg pull) for '${name}'")
|
set(comment "Performing update step (hg pull) for '${name}'")
|
||||||
|
set(comment_disconnected "Performing disconnected update step for '${name}'")
|
||||||
|
|
||||||
get_property(hg_tag
|
get_property(hg_tag
|
||||||
TARGET ${name}
|
TARGET ${name}
|
||||||
@@ -3404,6 +3405,7 @@ Update to Mercurial >= 2.1.1.
|
|||||||
${HG_EXECUTABLE} pull
|
${HG_EXECUTABLE} pull
|
||||||
COMMAND ${HG_EXECUTABLE} update ${hg_tag}
|
COMMAND ${HG_EXECUTABLE} update ${hg_tag}
|
||||||
)
|
)
|
||||||
|
set(cmd_disconnected ${HG_EXECUTABLE} update ${hg_tag})
|
||||||
set(always 1)
|
set(always 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user