浏览代码

ENH: fix and issue with spaces in paths

Ken Martin 20 年之前
父节点
当前提交
f7d26c4ab9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 3 - 0
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -330,6 +330,9 @@ cmLocalUnixMakefileGenerator3
     << "\n\n";
   
   // make sure the depend file exists
+  depPath = dir;
+  depPath += "/depend.make";
+  depPath = this->Convert(depPath.c_str(),FULL,UNCHANGED);
   if (!cmSystemTools::FileExists(depPath.c_str()))
     {
     // Write an empty dependency file.