ENH: fix for the correct path to cmake

This commit is contained in:
Bill Hoffman 2008-03-28 15:54:20 -04:00
parent cae34d2df3
commit 30630137f5
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
if(variable == "CMAKE_COMMAND")
{
const char* cmcommand =
this->GlobalGenerator->GetCMakeInstance()->GetCMakeCommand();
this->GetMakefile()->GetDefinition("CMAKE_COMMAND");
return this->Convert(cmcommand, FULL, SHELL);
}
std::vector<std::string> enabledLanguages;