diff options
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 6751f2d..7f32628 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -386,12 +386,12 @@ cmLocalUnixMakefileGenerator3 if (m_CustomRuleFiles.size()) { // do the include - std::string dir = m_Makefile->GetStartOutputDirectory(); - dir += "/CMakeCustomRules.dir/build.make"; - dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE); + std::string dir2 = m_Makefile->GetStartOutputDirectory(); + dir2 += "/CMakeCustomRules.dir/build.make"; + dir2 = this->Convert(dir2.c_str(),HOME_OUTPUT,MAKEFILE); ruleFileStream << m_IncludeDirective << " " - << this->ConvertToOutputForExisting(dir.c_str()).c_str() + << this->ConvertToOutputForExisting(dir2.c_str()).c_str() << "\n"; } @@ -847,12 +847,12 @@ cmLocalUnixMakefileGenerator3 if (m_CustomRuleFiles.size()) { // do the include - std::string dir = m_Makefile->GetStartOutputDirectory(); - dir += "/CMakeCustomRules.dir/build.make"; - dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE); + std::string dir2 = m_Makefile->GetStartOutputDirectory(); + dir2 += "/CMakeCustomRules.dir/build.make"; + dir2 = this->Convert(dir2.c_str(),HOME_OUTPUT,MAKEFILE); ruleFileStream << m_IncludeDirective << " " - << this->ConvertToOutputForExisting(dir.c_str()).c_str() + << this->ConvertToOutputForExisting(dir2.c_str()).c_str() << "\n"; } |