The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15904 ====================================================================== Reported By: Jaak Ristioja Assigned To: ====================================================================== Project: CMake Issue ID: 15904 Category: Modules Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2016-01-05 10:33 EST Last Modified: 2016-01-05 10:33 EST ====================================================================== Summary: ExternalProject UPDATE_DISCONNECTED does not work with custom UPDATE_COMMAND Description: This CMakeLists.txt file: CMAKE_MINIMUM_REQUIRED(VERSION 3.1) PROJECT(test NONE) INCLUDE(ExternalProject) SET_PROPERTY(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED 1) ExternalProject_Add(sf GIT_REPOSITORY "https://github.com/sharemind-sdk/vm_m4.git" UPDATE_COMMAND ${CMAKE_COMMAND} -E echo "Hello, World!")
yields in the following `make`output: Scanning dependencies of target sf [ 14%] Creating directories for 'sf' [ 28%] Performing download step (git clone) for 'sf' Cloning into 'sf'... Already on 'master' Your branch is up-to-date with 'origin/master'. [ 42%] No patch step for 'sf' make[2]: *** No rule to make target 'sf-prefix/src/sf-stamp/sf-skip-update', needed by 'sf-prefix/src/sf-stamp/sf-configure'. Stop. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/sf.dir/all' failed make[1]: *** [CMakeFiles/sf.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 Same error with UPDATE_DISCONNECTED set on the external project itself. Additional Information: Tested with cmake-3.3.2 and cmake-3.4.1. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-01-05 10:33 Jaak Ristioja New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers