summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
-rw-r--r--Source/cmFindProgramCommand.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx
index f479ccd..5b08fc8 100644
--- a/Source/cmFindProgramCommand.cxx
+++ b/Source/cmFindProgramCommand.cxx
@@ -53,14 +53,14 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn)
if(result != "")
{
// Save the value in the cache
- m_Makefile->AddCacheDefinition(this->VariableName.c_str(),
- result.c_str(),
- this->VariableDocumentation.c_str(),
- cmCacheManager::FILEPATH);
+ this->Makefile->AddCacheDefinition(this->VariableName.c_str(),
+ result.c_str(),
+ this->VariableDocumentation.c_str(),
+ cmCacheManager::FILEPATH);
return true;
}
- m_Makefile->AddCacheDefinition(this->VariableName.c_str(),
+ this->Makefile->AddCacheDefinition(this->VariableName.c_str(),
(this->VariableName + "-NOTFOUND").c_str(),
this->VariableDocumentation.c_str(),
cmCacheManager::FILEPATH);