COMP: fix warning

This commit is contained in:
Ken Martin 2005-05-19 13:32:55 -04:00
parent c37eecffe2
commit b2cca4799d
1 changed files with 8 additions and 8 deletions

View File

@ -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";
}