Browse Source

cmTarget: Remove unused NameResolvesToFramework.

Stephen Kelly 10 years ago
parent
commit
c6e8695508
2 changed files with 0 additions and 9 deletions
  1. 0 7
      Source/cmTarget.cxx
  2. 0 2
      Source/cmTarget.h

+ 0 - 7
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

+ 0 - 2
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);