summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-22 19:17:07 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-22 19:17:07 (GMT)
commita7245e47925f51b8b648b1eb075f3ecec2b5ce76 (patch)
treea6495dc6fd20d3beb3fbabca16ce77dfec4f4e6b
parent2836fc43e79cd5497f2e63ae091ca67f1cb2485d (diff)
downloadCMake-a7245e47925f51b8b648b1eb075f3ecec2b5ce76.zip
CMake-a7245e47925f51b8b648b1eb075f3ecec2b5ce76.tar.gz
CMake-a7245e47925f51b8b648b1eb075f3ecec2b5ce76.tar.bz2
ENH: Simplify target-level dependencies by depending only on directly linked targets instead of those chained.
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index d02fe26..f8cb310 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2015,7 +2015,7 @@ void cmGlobalXCodeGenerator
// Loop over all library dependencies.
const cmTarget::LinkLibraryVectorType& tlibs =
- cmtarget->GetLinkLibraries();
+ cmtarget->GetOriginalLinkLibraries();
for(cmTarget::LinkLibraryVectorType::const_iterator lib = tlibs.begin();
lib != tlibs.end(); ++lib)
{