mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-06 06:38:37 -06:00
BUG: cmake.depends files of zero size were not being re-written in some cases. Added a comment output to the top of the file so it will be re-written every time.
This commit is contained in:
@@ -266,6 +266,7 @@ void cmUnixMakefileGenerator::OutputMakefile(const char* file)
|
||||
cmSystemTools::Error("Error can not open for write: ", dependName.c_str());
|
||||
return;
|
||||
}
|
||||
dependout << "# .o dependencies in this directory." << std::endl;
|
||||
this->OutputObjectDepends(dependout);
|
||||
}
|
||||
this->OutputCustomRules(fout);
|
||||
|
||||
Reference in New Issue
Block a user