cmake/Help/policy/CMP0105.rst

23 lines
718 B
ReStructuredText
Raw Normal View History

2020-08-30 11:54:41 +02:00
CMP0105
-------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.18
2020-08-30 11:54:41 +02:00
:prop_tgt:`LINK_OPTIONS` and :prop_tgt:`INTERFACE_LINK_OPTIONS` target
properties are now used for the device link step.
In CMake 3.17 and below, link options are not used by the device link step.
2023-05-23 16:38:00 +02:00
The ``OLD`` behavior for this policy is to ignore the link options during the
device link step.
2020-08-30 11:54:41 +02:00
The ``NEW`` behavior of this policy is to use the link options during the
device link step.
2023-05-23 16:38:00 +02:00
This policy was introduced in CMake version 3.18. Use the
2020-08-30 11:54:41 +02:00
:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
Unlike many policies, CMake version |release| does *not* warn
when this policy is not set and simply uses ``OLD`` behavior.
.. include:: DEPRECATED.txt