The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13849 
====================================================================== 
Reported By:                Ivan Bednyakov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13849
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-01-15 09:49 EST
Last Modified:              2013-01-15 09:49 EST
====================================================================== 
Summary:                    ExternalProject_Add works in a wrong way for DEPENDS
property
Description: 
It should be noticed that at the version 2.8.8 this error didn't appear.
Trying to add dependencies to an ExternalProject brings me to the error like 

-External project "MyDependencyLibrary" has no stamp_dir

Actually I have the following CMakeLists tree:
1). A main one, where I declaring targets like IMPORTED libraries (to the libs
produced by "MyExternalProject"), etc. and where I have 2 calls to
ADD_SUBDIRECTORY(...);
2). A Leaf 1, where ADD_LIBRARY( MyDependencyLibrary ...) exists, defining some
target "MyDependencyLibrary";
3). A Leaf 2, where ExternalProject_Add( MyExternalProject DEPENDS
MyDependencyLibrary ...) exists;

In such a building tree I get the mentioned above error. At the earlier version
(CMake-2.8.8) all was Ok!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-15 09:49 Ivan Bednyakov New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to