Files
cmake/Help/variable/CMAKE_INSTALL_OBJECT_ONLY_USE_DESTINATION.rst
Ben Boeckel c1de3c72a3 install: support using DESTINATION as-is for object installation
CMake historically has forced an `objects[-<CONFIG>]/<TARGET_NAME>`
subdirectory under an `OBJECT` library installation's `OBJECTS
DESTINATION` which may be unwanted. Support skipping this component
with a target property.
2025-09-06 00:44:42 -04:00

12 lines
438 B
ReStructuredText

CMAKE_INSTALL_OBJECT_ONLY_USE_DESTINATION
-----------------------------------------
.. versionadded:: 4.2
Controls whether the ``install(DESTINATION)`` for object libraries is used
as-is or supplemented with conflict-avoiding subdirectories.
``CMAKE_INSTALL_OBJECT_ONLY_USE_DESTINATION`` is used to initialize the
:prop_tgt:`INSTALL_OBJECT_ONLY_USE_DESTINATION` property on all targets. See
that target property for more information.