COMP: fix warning

This commit is contained in:
Bill Hoffman 2006-01-24 07:58:55 -05:00
parent daca5484b9
commit a2c1777300

View File

@ -1680,15 +1680,12 @@ std::string cmLocalGenerator::GetRealDependency(const char* inName,
// This is a full path. Return it as given. // This is a full path. Return it as given.
return inName; return inName;
} }
else // Treat the name as relative to the source directory in which it
{ // was given.
// Treat the name as relative to the source directory in which it name = m_Makefile->GetCurrentDirectory();
// was given. name += "/";
name = m_Makefile->GetCurrentDirectory(); name += inName;
name += "/"; return name;
name += inName;
return name;
}
} }
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------