diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-07 18:13:33 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-07 18:13:33 (GMT) |
commit | 3b4895fa35e4a96022abd99b07002a7d2ab3a968 (patch) | |
tree | e985a95b71727c813ad6106eef311ffa01caf665 /Source/cmTarget.cxx | |
parent | 2232e97a6ed4a338b814d1ba3d62a7ffa9ef6e7f (diff) | |
download | CMake-3b4895fa35e4a96022abd99b07002a7d2ab3a968.zip CMake-3b4895fa35e4a96022abd99b07002a7d2ab3a968.tar.gz CMake-3b4895fa35e4a96022abd99b07002a7d2ab3a968.tar.bz2 |
cmTarget: Inline MergeLinkLibraries into only caller
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 0e7e2a5..86a2777 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -476,19 +476,6 @@ cmSourceFile* cmTarget::AddSource(const std::string& src) return this->Makefile->GetOrCreateSource(src); } -void cmTarget::MergeLinkLibraries(cmMakefile& mf, const std::string& selfname, - const LinkLibraryVectorType& libs) -{ - LinkLibraryVectorType::const_iterator i = libs.begin(); - for (; i != libs.end(); ++i) { - // This is equivalent to the target_link_libraries plain signature. - this->AddLinkLibrary(mf, selfname, i->first, i->second); - this->AppendProperty( - "INTERFACE_LINK_LIBRARIES", - this->GetDebugGeneratorExpressions(i->first, i->second).c_str()); - } -} - void cmTarget::AddLinkDirectory(const std::string& d) { // Make sure we don't add unnecessary search directories. |