cmTarget: Make NameResolvesToFramework const.

This commit is contained in:
Stephen Kelly 2013-11-19 11:48:55 +01:00
parent 1c2752169c
commit 0794c1360d
2 changed files with 3 additions and 3 deletions

View File

@ -769,9 +769,9 @@ void cmTarget::ClearDependencyInformation( cmMakefile& mf,
}
//----------------------------------------------------------------------------
bool cmTarget::NameResolvesToFramework(const std::string& libname)
bool cmTarget::NameResolvesToFramework(const std::string& libname) const
{
return this->GetMakefile()->GetLocalGenerator()->GetGlobalGenerator()->
return this->Makefile->GetLocalGenerator()->GetGlobalGenerator()->
NameResolvesToFramework(libname);
}

View File

@ -197,7 +197,7 @@ public:
void ClearDependencyInformation(cmMakefile& mf, const char* target);
// Check to see if a library is a framework and treat it different on Mac
bool NameResolvesToFramework(const std::string& libname);
bool NameResolvesToFramework(const std::string& libname) const;
void AddLinkLibrary(cmMakefile& mf,
const char *target, const char* lib,
LinkLibraryType llt);