diff options
author | Brad King <brad.king@kitware.com> | 2014-06-12 20:22:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-23 13:17:00 (GMT) |
commit | 0dc9e88d76fa74440fc3b38032738a21ce72f2d7 (patch) | |
tree | 5ba1a5691a912da3790f68827d89e6cae3fe6453 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 4ac72455fd7027039d498f007fdfe7c1d819b9f9 (diff) | |
download | CMake-0dc9e88d76fa74440fc3b38032738a21ce72f2d7.zip CMake-0dc9e88d76fa74440fc3b38032738a21ce72f2d7.tar.gz CMake-0dc9e88d76fa74440fc3b38032738a21ce72f2d7.tar.bz2 |
cmTarget: Remove 'head' argument from GetLinkImplementation
Many of the 'head' arguments added by commit v2.8.11~289^2~1 (Make
linking APIs aware of 'head' target, 2013-01-04) turned out not to be
needed. The "link implementation" of a target never needs to be
computed with anything but itself as the 'head' target (except for
CMP0022 OLD behavior because then it is the link interface).
Remove the unused 'head' target paths. Add "internal" versions of
cmTarget::GetDirectLinkLibraries and GetLinkImplementationLibraries
to support the CMP0022 OLD behavior without otherwise exposing the
'head' target option of these methods.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 29a5955..9a36df5 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1255,7 +1255,7 @@ void cmGlobalXCodeGenerator::ForceLinkerLanguage(cmTarget& cmtarget) // If the language is compiled as a source trust Xcode to link with it. cmTarget::LinkImplementation const* impl = - cmtarget.GetLinkImplementation("NOCONFIG", &cmtarget); + cmtarget.GetLinkImplementation("NOCONFIG"); for(std::vector<std::string>::const_iterator li = impl->Languages.begin(); li != impl->Languages.end(); ++li) { |