install(TARGETS): Add option to install runtime deps built as other targets

Add a `RUNTIME_DEPENDENCY_TARGETS` option for `install(TARGETS)`
to automatically install the necessary runtime shared libraries.

Closes: #23505
9 files changed