mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-24 16:49:18 -06:00
ENH: fix for the correct path to cmake
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user