Files
cmake/Help/release/dev/default-module-install-destination.rst
Tom Osika 8072e80f4b install(TARGETS): Add default destination for MODULE libraries
Installing a module target without a LIBRARY DESTINATION no longer
raises an error. On DLL platforms, the default destination is the
RUNTIME default. Otherwise, the LIBRARY default is used.

Closes: #27759
2026-08-13 10:55:07 -04:00

9 lines
375 B
ReStructuredText

default-module-install-destination
----------------------------------
* The :command:`install(TARGETS)` command no longer requires a
``LIBRARY DESTINATION`` for :ref:`Module Libraries`. When no destination is
given, a module library is installed to the default ``RUNTIME``
destination on DLL platforms and to the default ``LIBRARY`` destination
on other platforms.