summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-10-03 20:19:19 (GMT)
committerBrad King <brad.king@kitware.com>2007-10-03 20:19:19 (GMT)
commit394077ac5c12c36f96558a0c37cc3040cefcfca3 (patch)
treedfd2c1d7e6133976420b1d47edd3c4b0f0f9866f
parentf8caab461315c1588412047eab965d3972f52efb (diff)
downloadCMake-394077ac5c12c36f96558a0c37cc3040cefcfca3.zip
CMake-394077ac5c12c36f96558a0c37cc3040cefcfca3.tar.gz
CMake-394077ac5c12c36f96558a0c37cc3040cefcfca3.tar.bz2
BUG: When requiring a module through a .proxy rule add an empty .proxy rule in case no other source in the target provides it. Since it is not a file-level dependency there does not need to be a rule to create the .proxy as a file. This addresses bug#3984.
-rw-r--r--Source/cmDependsFortran.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index 5bee74d..3b2bc4a 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -154,6 +154,9 @@ bool cmDependsFortran::WriteDependencies(const char *src, const char *obj,
// since we require some things add them to our list of requirements
makeDepends << obj << ".requires: " << i->c_str() << ".mod.proxy"
<< std::endl;
+
+ // create an empty proxy in case no other source provides it
+ makeDepends << i->c_str() << ".mod.proxy:" << std::endl;
}
}