summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-15 14:26:10 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-15 14:26:10 (GMT)
commit06209c4ce2d75d2e7eff16312d570b7f411e413e (patch)
tree234b0f2384898619bb5e1a35124fe127ea915e7d /Modules
parentdadccc752e5e78944af89999112c9a7f8444ffbf (diff)
parent4deaa25f46bbe021648d837a936be64117922157 (diff)
downloadCMake-06209c4ce2d75d2e7eff16312d570b7f411e413e.zip
CMake-06209c4ce2d75d2e7eff16312d570b7f411e413e.tar.gz
CMake-06209c4ce2d75d2e7eff16312d570b7f411e413e.tar.bz2
Merge topic 'ExternalProject-fix-UPDATE_DISCONNECTED'
4deaa25f ExternalProject: Fix UPDATE_DISCONNECTED with empty update steps
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 1ba4a8f..b15b3f7 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -2165,12 +2165,12 @@ Update to Mercurial >= 2.1.1.
${uses_terminal}
)
- if(always AND update_disconnected)
+ if(update_disconnected)
_ep_get_step_stampfile(${name} skip-update skip-update_stamp_file)
string(REPLACE "Performing" "Skipping" comment "${comment}")
ExternalProject_Add_Step(${name} skip-update
COMMENT ${comment}
- ALWAYS 1
+ ALWAYS ${always}
EXCLUDE_FROM_MAIN 1
WORKING_DIRECTORY ${work_dir}
DEPENDEES download