BUG: cmDependsFortran should store the source file as a dependency of the object file when scanning for dependencies.

This commit is contained in:
Brad King 2007-12-19 16:35:09 -05:00
parent 891256546b
commit c7bf320539
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ bool cmDependsFortran::WriteDependencies(const char *src, const char *obj,
// Write the include dependencies to the output stream. // Write the include dependencies to the output stream.
internalDepends << obj << std::endl; internalDepends << obj << std::endl;
internalDepends << " " << src << std::endl;
for(std::set<cmStdString>::const_iterator i = parser.Includes.begin(); for(std::set<cmStdString>::const_iterator i = parser.Includes.begin();
i != parser.Includes.end(); ++i) i != parser.Includes.end(); ++i)
{ {