ENH: Simplify target-level dependencies by depending only on directly linked targets instead of those chained.

This commit is contained in:
Brad King 2007-12-22 14:17:07 -05:00
parent 2836fc43e7
commit a7245e4792
1 changed files with 1 additions and 1 deletions

View File

@ -2015,7 +2015,7 @@ void cmGlobalXCodeGenerator
// Loop over all library dependencies. // Loop over all library dependencies.
const cmTarget::LinkLibraryVectorType& tlibs = const cmTarget::LinkLibraryVectorType& tlibs =
cmtarget->GetLinkLibraries(); cmtarget->GetOriginalLinkLibraries();
for(cmTarget::LinkLibraryVectorType::const_iterator lib = tlibs.begin(); for(cmTarget::LinkLibraryVectorType::const_iterator lib = tlibs.begin();
lib != tlibs.end(); ++lib) lib != tlibs.end(); ++lib)
{ {