diff options
Diffstat (limited to 'Source/cmGetDirectoryPropertyCommand.cxx')
-rw-r--r-- | Source/cmGetDirectoryPropertyCommand.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmGetDirectoryPropertyCommand.cxx b/Source/cmGetDirectoryPropertyCommand.cxx index 735a03d..79a18ad 100644 --- a/Source/cmGetDirectoryPropertyCommand.cxx +++ b/Source/cmGetDirectoryPropertyCommand.cxx @@ -35,7 +35,7 @@ bool cmGetDirectoryPropertyCommand::InitialPass( std::string output = ""; // get the directory argument if there is one - cmMakefile *dir = m_Makefile; + cmMakefile *dir = this->Makefile; if (*i == "DIRECTORY") { ++i; @@ -49,13 +49,13 @@ bool cmGetDirectoryPropertyCommand::InitialPass( // make sure the start dir is a full path if (!cmSystemTools::FileIsFullPath(sd.c_str())) { - sd = m_Makefile->GetStartDirectory(); + sd = this->Makefile->GetStartDirectory(); sd += "/"; sd += *i; } // lookup the makefile from the directory name cmLocalGenerator *lg = - m_Makefile->GetLocalGenerator()->GetGlobalGenerator()-> + this->Makefile->GetLocalGenerator()->GetGlobalGenerator()-> FindLocalGenerator(sd.c_str()); if (!lg) { @@ -151,13 +151,13 @@ bool cmGetDirectoryPropertyCommand::InitialPass( const char *prop = dir->GetProperty(i->c_str()); if (prop) { - m_Makefile->AddDefinition(variable.c_str(), prop); + this->Makefile->AddDefinition(variable.c_str(), prop); return true; } - m_Makefile->AddDefinition(variable.c_str(), ""); + this->Makefile->AddDefinition(variable.c_str(), ""); return true; } - m_Makefile->AddDefinition(variable.c_str(), output.c_str()); + this->Makefile->AddDefinition(variable.c_str(), output.c_str()); return true; } |