c++modules: NMC transitive synthetic targets are not hooked up for all configurations
For some reason, only the first configuration in the list of configurations actually has the correct `linked-target-dirs` settings. Reproducer attached.
[cm-nmc-modules.tar.gz](/uploads/4c8450a13f70c78ab18ec27f5a518dbe/cm-nmc-modules.tar.gz)
Note on the milestone: should probably be backported to 3.30.x, but depends on when the fix lands (IMO, shouldn't hold up a given patch release until the cause is understood).
Cc: @mpusz
issue