macOS: Optionally exclude weak dependencies from file(GET_RUNTIME_DEPENDENCIES)
Discussion in #21684 (comment 886225) concluded that we should add an option to file(GET_RUNTIME_DEPENDENCIES)
and perhaps BundleUtilities
to exclude "weak" dependencies on macOS.