summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-28 19:54:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-28 19:54:20 (GMT)
commit30630137f5cfbfb1582dba3581fb6eead118f3fd (patch)
tree41e6b4908d63ddb73ce4ceb2e04330f49fc52949 /Source/cmLocalGenerator.cxx
parentcae34d2df3e3478db69ef1c99ddd649673f64007 (diff)
downloadCMake-30630137f5cfbfb1582dba3581fb6eead118f3fd.zip
CMake-30630137f5cfbfb1582dba3581fb6eead118f3fd.tar.gz
CMake-30630137f5cfbfb1582dba3581fb6eead118f3fd.tar.bz2
ENH: fix for the correct path to cmake
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
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<std::string> enabledLanguages;