diff options
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r-- | Source/cmSiteNameCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx index b949aeb..845a40d 100644 --- a/Source/cmSiteNameCommand.cxx +++ b/Source/cmSiteNameCommand.cxx @@ -35,13 +35,13 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args) paths.push_back("/usr/local/bin"); const char* cacheValue - = m_Makefile->GetDefinition(args[0].c_str()); + = this->Makefile->GetDefinition(args[0].c_str()); if(cacheValue) { return true; } - const char *temp = m_Makefile->GetDefinition("HOSTNAME"); + const char *temp = this->Makefile->GetDefinition("HOSTNAME"); std::string hostname_cmd; if(temp) { @@ -88,7 +88,7 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args) } } #endif - m_Makefile-> + this->Makefile-> AddCacheDefinition(args[0].c_str(), siteName.c_str(), "Name of the computer/site where compile is being run", |