cmTarget: Make NameResolvesToFramework const.
This commit is contained in:
parent
1c2752169c
commit
0794c1360d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue