mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 17:11:04 +00:00
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
Block a user