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.

This commit is contained in:
Brad King 2007-10-03 16:19:19 -04:00
parent f8caab4613
commit 394077ac5c

View File

@ -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;
}
}