BUG: cmDependsFortran should store the source file as a dependency of the object file when scanning for dependencies.
This commit is contained in:
parent
891256546b
commit
c7bf320539
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue