diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 0d8c57d220..e056469298 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -610,13 +610,6 @@ void cmTarget::ClearDependencyInformation( cmMakefile& mf, } } -//---------------------------------------------------------------------------- -bool cmTarget::NameResolvesToFramework(const std::string& libname) const -{ - return this->Makefile->GetGlobalGenerator()-> - NameResolvesToFramework(libname); -} - //---------------------------------------------------------------------------- std::string cmTarget::GetDebugGeneratorExpressions(const std::string &value, cmTargetLinkLibraryType llt) const diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 9ed7f841e0..8a99472e8d 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -145,8 +145,6 @@ public: */ void ClearDependencyInformation(cmMakefile& mf, const std::string& target); - // Check to see if a library is a framework and treat it different on Mac - bool NameResolvesToFramework(const std::string& libname) const; void AddLinkLibrary(cmMakefile& mf, const std::string& target, const std::string& lib, cmTargetLinkLibraryType llt);