From 30630137f5cfbfb1582dba3581fb6eead118f3fd Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 28 Mar 2008 15:54:20 -0400 Subject: ENH: fix for the correct path to cmake --- Source/cmLocalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 0fdcc11..d806978 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -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 enabledLanguages; -- cgit v0.12