Browse Source

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

Andy Cedilnik 20 years ago
parent
commit
ee6df5f63b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 3 - 1
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -3044,7 +3044,9 @@ void cmLocalUnixMakefileGenerator3
       {
       {
       cmakefileStream << "  \"" << (*csIter)->GetFullPath() << "\"\n";
       cmakefileStream << "  \"" << (*csIter)->GetFullPath() << "\"\n";
       // Get the full path name of the object file.
       // 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 << "  \"" << 
       cmakefileStream << "  \"" << 
         this->Convert(obj.c_str(),
         this->Convert(obj.c_str(),
                       cmLocalGenerator::FULL).c_str() << "\"\n";
                       cmLocalGenerator::FULL).c_str() << "\"\n";