summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-22 15:09:23 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-24 12:23:55 (GMT)
commitcf312a2e5423c49cc5da446f5407a6f4a596a3cb (patch)
tree3bde9691ad13e40b06744b63a2c53dda75cbdf2a /Help/release
parent41a6b4a53ba844ef986b0bc4efe8938b97eea810 (diff)
downloadCMake-cf312a2e5423c49cc5da446f5407a6f4a596a3cb.zip
CMake-cf312a2e5423c49cc5da446f5407a6f4a596a3cb.tar.gz
CMake-cf312a2e5423c49cc5da446f5407a6f4a596a3cb.tar.bz2
LINK_LIBRARIES: Add support for LINK_ONLY genex
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`.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/link-interface-direct.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/dev/link-interface-direct.rst b/Help/release/dev/link-interface-direct.rst
index 2e9a59e..8b858e2 100644
--- a/Help/release/dev/link-interface-direct.rst
+++ b/Help/release/dev/link-interface-direct.rst
@@ -5,3 +5,7 @@ link-interface-direct
: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`.