diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 63a1ae5ef..7a1d014da 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -1605,18 +1605,6 @@ void cmTarget::ClearDependencyInformation( cmMakefile& mf, } } -//---------------------------------------------------------------------------- -void cmTarget::AddLinkLibrary(const std::string& lib, - LinkLibraryType llt) -{ - this->AddFramework(lib.c_str(), llt); - cmTarget::LibraryID tmp; - tmp.first = lib; - tmp.second = llt; - this->LinkLibraries.push_back(tmp); - this->OriginalLinkLibraries.push_back(tmp); -} - //---------------------------------------------------------------------------- bool cmTarget::NameResolvesToFramework(const std::string& libname) { diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 7f44bb5c8..e8a82a5d9 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -183,9 +183,6 @@ public: const char *target, const char* lib, LinkLibraryType llt); - void AddLinkLibrary(const std::string& lib, - LinkLibraryType llt); - void MergeLinkLibraries( cmMakefile& mf, const char* selfname, const LinkLibraryVectorType& libs );