ENH: fix and issue with spaces in paths

This commit is contained in:
Ken Martin 2005-08-08 11:02:40 -04:00
parent 30d362f80a
commit f7d26c4ab9
1 changed files with 3 additions and 0 deletions

View File

@ -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.