diff options
author | Brad King <brad.king@kitware.com> | 2007-10-03 20:19:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-10-03 20:19:19 (GMT) |
commit | 394077ac5c12c36f96558a0c37cc3040cefcfca3 (patch) | |
tree | dfd2c1d7e6133976420b1d47edd3c4b0f0f9866f | |
parent | f8caab461315c1588412047eab965d3972f52efb (diff) | |
download | CMake-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.cxx | 3 |
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; } } |