diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-28 19:54:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-28 19:54:20 (GMT) |
commit | 30630137f5cfbfb1582dba3581fb6eead118f3fd (patch) | |
tree | 41e6b4908d63ddb73ce4ceb2e04330f49fc52949 /Source/cmLocalGenerator.cxx | |
parent | cae34d2df3e3478db69ef1c99ddd649673f64007 (diff) | |
download | CMake-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.cxx | 2 |
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; |