[cmake-developers] [CMake 0013574]: Ninja: no transitive dependency for imported libraries

Mantis Bug Tracker mantis at public.kitware.com
Fri Oct 5 15:41:04 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13574 
====================================================================== 
Reported By:                Peter Kuemmel
Assigned To:                Peter Kuemmel
====================================================================== 
Project:                    CMake
Issue ID:                   13574
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2012-10-05 15:41 EDT
Last Modified:              2012-10-05 15:41 EDT
====================================================================== 
Summary:                    Ninja: no transitive dependency for imported
libraries
Description: 
ExternalProject_Add(x ....)
add_library(xLib STATIC IMPORTED GLOBAL)
set_target_properties(xLib PROPERTIES IMPORTED_LOCATION libx.a)
add_dependencies(xLib x)

target_link_library(y x)

This is broken for ninja. Ninja starts building y and stops because three is no
rule for libx.a.


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-05 15:41 Peter Kuemmel  New Issue                                    
2012-10-05 15:41 Peter Kuemmel  Status                   new => assigned     
2012-10-05 15:41 Peter Kuemmel  Assigned To               => Peter Kuemmel   
======================================================================




More information about the cmake-developers mailing list