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:
parent
e0aee2e988
commit
4108b22486
|
@ -266,6 +266,7 @@ void cmUnixMakefileGenerator::OutputMakefile(const char* file)
|
||||||
cmSystemTools::Error("Error can not open for write: ", dependName.c_str());
|
cmSystemTools::Error("Error can not open for write: ", dependName.c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
dependout << "# .o dependencies in this directory." << std::endl;
|
||||||
this->OutputObjectDepends(dependout);
|
this->OutputObjectDepends(dependout);
|
||||||
}
|
}
|
||||||
this->OutputCustomRules(fout);
|
this->OutputCustomRules(fout);
|
||||||
|
|
Loading…
Reference in New Issue