Files
cmake/Help/release/dev/install-TARGETS-RUNTIME_DEPENDENCY_TARGETS.rst
Stepanov Igor 53019cd2e6 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
2026-09-22 10:40:52 -04:00

11 lines
515 B
ReStructuredText

install-TARGETS-RUNTIME_DEPENDENCY_TARGETS
------------------------------------------
* The :command:`install(TARGETS)` command gained a
``RUNTIME_DEPENDENCY_TARGETS`` option to install runtime artifacts
of non-imported shared libraries from the same build that the named
targets link to. Unlike ``RUNTIME_DEPENDENCIES``, this uses CMake
target graph information rather than
:command:`file(GET_RUNTIME_DEPENDENCIES)`. The option cannot be
used with ``EXPORT`` and may only install runtime artifacts.