mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Previously we always used content guarded by `$<LINK_ONLY:...>` in `LINK_LIBRARIES`, even when evaluating for non-linking usage requirements. Add a policy to honor `LINK_ONLY` in `LINK_LIBRARIES` the same way we already do in `INTERFACE_LINK_LIBRARIES`.
12 lines
414 B
ReStructuredText
12 lines
414 B
ReStructuredText
link-interface-direct
|
|
---------------------
|
|
|
|
* The :prop_tgt:`INTERFACE_LINK_LIBRARIES_DIRECT` and
|
|
:prop_tgt:`INTERFACE_LINK_LIBRARIES_DIRECT_EXCLUDE` target properties
|
|
were added to express usage requirements affecting a consumer's
|
|
direct link dependencies.
|
|
|
|
* The :prop_tgt:`LINK_LIBRARIES` target property now supports
|
|
the :genex:`$<LINK_ONLY:...>` generator expression.
|
|
See policy :policy:`CMP0131`.
|