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:
parent
f8caab4613
commit
394077ac5c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user