BUG: Fix dependencies. Looks like all dependencies were missing subdirectory

This commit is contained in:
Andy Cedilnik 2005-07-29 11:25:47 -04:00
parent df26171533
commit ee6df5f63b
1 changed files with 3 additions and 1 deletions

View File

@ -3044,7 +3044,9 @@ void cmLocalUnixMakefileGenerator3
{
cmakefileStream << " \"" << (*csIter)->GetFullPath() << "\"\n";
// Get the full path name of the object file.
std::string obj = this->GetObjectFileName(target, **csIter);
std::string obj = m_Makefile->GetStartOutputDirectory();
obj += "/";
obj += this->GetObjectFileName(target, **csIter);
cmakefileStream << " \"" <<
this->Convert(obj.c_str(),
cmLocalGenerator::FULL).c_str() << "\"\n";