Yeah, the need to have a usage requirement piercePRIVATE
dependencies for those that impose requirements on any end binary in the chain (EXECUTABLE
or possibly a MODULE
). I don’t know of the best way to do it.
$<LINK_ONLY:>
can remove the interface or compile usage requirements at least.