瀏覽代碼

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

Andy Cedilnik 20 年之前
父節點
當前提交
ee6df5f63b
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 3 - 1
Source/cmLocalUnixMakefileGenerator3.cxx

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