[cmake-developers] [CMake 0015904]: ExternalProject UPDATE_DISCONNECTED does not work with custom UPDATE_COMMAND
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jan 5 10:33:57 EST 2016
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
======================================================================
More information about the cmake-developers
mailing list