summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-19 10:48:55 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-19 19:40:32 (GMT)
commit0794c1360d43a61e96d11a62f493972e3ed52d8c (patch)
tree7dbce2216a6f4dda08c2b0b91a2af00f9e443387
parent1c2752169c3d34b80fb331b4edcc31a6001d2974 (diff)
downloadCMake-0794c1360d43a61e96d11a62f493972e3ed52d8c.zip
CMake-0794c1360d43a61e96d11a62f493972e3ed52d8c.tar.gz
CMake-0794c1360d43a61e96d11a62f493972e3ed52d8c.tar.bz2
cmTarget: Make NameResolvesToFramework const.
-rw-r--r--Source/cmTarget.cxx4
-rw-r--r--Source/cmTarget.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index b0caf16..e063125 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -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);
}
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index aeb8703..d78fe35 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -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);