From c6e86955086e1824cd666bc69c802d48074cc138 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 20 Oct 2015 01:01:57 +0200 Subject: cmTarget: Remove unused NameResolvesToFramework. --- Source/cmTarget.cxx | 7 ------- Source/cmTarget.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 0d8c57d..e056469 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -611,13 +611,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 9ed7f84..8a99472 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); -- cgit v0.12