cmake/Help/policy/CMP0108.rst

21 lines
562 B
ReStructuredText
Raw Normal View History

2020-08-30 11:54:41 +02:00
CMP0108
-------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.18
2020-08-30 11:54:41 +02:00
A target is not allowed to link to itself even through an ``ALIAS`` target.
In CMake 3.17 and below, a target can link to a target aliased to itself.
The ``OLD`` behavior for this policy is to allow a target to link to a target
aliased to itself.
The ``NEW`` behavior of this policy is to prevent a target to link to itself
through an ``ALIAS`` target.
2024-04-14 22:45:38 +02:00
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.17
.. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn
.. include:: STANDARD_ADVICE.txt
2020-08-30 11:54:41 +02:00
.. include:: DEPRECATED.txt