ENH: fix for the correct path to cmake
This commit is contained in:
parent
cae34d2df3
commit
30630137f5
|
@ -941,7 +941,7 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
|
||||||
if(variable == "CMAKE_COMMAND")
|
if(variable == "CMAKE_COMMAND")
|
||||||
{
|
{
|
||||||
const char* cmcommand =
|
const char* cmcommand =
|
||||||
this->GlobalGenerator->GetCMakeInstance()->GetCMakeCommand();
|
this->GetMakefile()->GetDefinition("CMAKE_COMMAND");
|
||||||
return this->Convert(cmcommand, FULL, SHELL);
|
return this->Convert(cmcommand, FULL, SHELL);
|
||||||
}
|
}
|
||||||
std::vector<std::string> enabledLanguages;
|
std::vector<std::string> enabledLanguages;
|
||||||
|
|
Loading…
Reference in New Issue