Browse Source

ENH: fix and issue with spaces in paths

Ken Martin 20 năm trước cách đây
mục cha
commit
f7d26c4ab9
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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.