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);
|
NameResolvesToFramework(libname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -197,7 +197,7 @@ public:
|
||||||
void ClearDependencyInformation(cmMakefile& mf, const char* target);
|
void ClearDependencyInformation(cmMakefile& mf, const char* target);
|
||||||
|
|
||||||
// Check to see if a library is a framework and treat it different on Mac
|
// 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,
|
void AddLinkLibrary(cmMakefile& mf,
|
||||||
const char *target, const char* lib,
|
const char *target, const char* lib,
|
||||||
LinkLibraryType llt);
|
LinkLibraryType llt);
|
||||||
|
|
Loading…
Reference in New Issue