summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-19 21:35:09 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-19 21:35:09 (GMT)
commitc7bf320539c12de919b34868a6af558459f2ddc0 (patch)
tree9ccb4abf3cabd89f1f51f320b1084ffc3b5e588f /Source/cmDependsFortran.cxx
parent891256546b5bdb8ad7f9d29014b972c93abd39bf (diff)
downloadCMake-c7bf320539c12de919b34868a6af558459f2ddc0.zip
CMake-c7bf320539c12de919b34868a6af558459f2ddc0.tar.gz
CMake-c7bf320539c12de919b34868a6af558459f2ddc0.tar.bz2
BUG: cmDependsFortran should store the source file as a dependency of the object file when scanning for dependencies.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index d120547..34aa39d 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -141,6 +141,7 @@ bool cmDependsFortran::WriteDependencies(const char *src, const char *obj,
// Write the include dependencies to the output stream.
internalDepends << obj << std::endl;
+ internalDepends << " " << src << std::endl;
for(std::set<cmStdString>::const_iterator i = parser.Includes.begin();
i != parser.Includes.end(); ++i)
{