diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index d02fe2674..f8cb31017 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) {