Explorar el Código

ENH: fix and issue with spaces in paths

Ken Martin hace 20 años
padre
commit
f7d26c4ab9
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 3 - 0
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -330,6 +330,9 @@ cmLocalUnixMakefileGenerator3
     << "\n\n";
     << "\n\n";
   
   
   // make sure the depend file exists
   // 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()))
   if (!cmSystemTools::FileExists(depPath.c_str()))
     {
     {
     // Write an empty dependency file.
     // Write an empty dependency file.