diff options
Diffstat (limited to 'Source/cmOptionCommand.cxx')
-rw-r--r-- | Source/cmOptionCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmOptionCommand.cxx b/Source/cmOptionCommand.cxx index 37e3be0..8682c91 100644 --- a/Source/cmOptionCommand.cxx +++ b/Source/cmOptionCommand.cxx @@ -27,7 +27,7 @@ bool cmOptionCommand::InitialPass(std::vector<std::string> const& args) // for VTK 4.0 we have to support the option command with more than 3 arguments // if CMAKE_MINIMUM_REQUIRED_VERSION is not defined, if CMAKE_MINIMUM_REQUIRED_VERSION // is defined, then we can have stricter checking. - if(m_Makefile->GetDefinition("CMAKE_MINIMUM_REQUIRED_VERSION")) + if(this->Makefile->GetDefinition("CMAKE_MINIMUM_REQUIRED_VERSION")) { if(args.size() > 3) { @@ -50,7 +50,7 @@ bool cmOptionCommand::InitialPass(std::vector<std::string> const& args) // Now check and see if the value has been stored in the cache // already, if so use that value and don't look for the program cmCacheManager::CacheIterator it = - m_Makefile->GetCacheManager()->GetCacheIterator(args[0].c_str()); + this->Makefile->GetCacheManager()->GetCacheIterator(args[0].c_str()); if(!it.IsAtEnd()) { if ( it.GetType() != cmCacheManager::UNINITIALIZED ) @@ -67,7 +67,7 @@ bool cmOptionCommand::InitialPass(std::vector<std::string> const& args) { initialValue = args[2]; } - m_Makefile->AddCacheDefinition(args[0].c_str(), + this->Makefile->AddCacheDefinition(args[0].c_str(), cmSystemTools::IsOn(initialValue.c_str()), args[1].c_str()); |