summaryrefslogtreecommitdiffstats
path: root/Help/command/target_link_libraries.rst
diff options
context:
space:
mode:
authorHinell <al.neodim@gmail.com>2022-09-07 14:53:30 (GMT)
committerBrad King <brad.king@kitware.com>2022-09-16 14:54:27 (GMT)
commit3d31f99b744f97d25cbead8aaa55ce8bcb85367b (patch)
tree4b2e0d4838ed767cac16d2a1b1308e5f47ac611a /Help/command/target_link_libraries.rst
parentcabba23ab270eb5cc672c43265f9eb3cb7dda8cc (diff)
downloadCMake-3d31f99b744f97d25cbead8aaa55ce8bcb85367b.zip
CMake-3d31f99b744f97d25cbead8aaa55ce8bcb85367b.tar.gz
CMake-3d31f99b744f97d25cbead8aaa55ce8bcb85367b.tar.bz2
Help: Link from usage requirement commands to detailed explanation
Augment vague mentions of "Transitive Usage Requirements" with links to a detailed explanation. Fixes: #23799
Diffstat (limited to 'Help/command/target_link_libraries.rst')
-rw-r--r--Help/command/target_link_libraries.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
index c85094a..bb7b5cc 100644
--- a/Help/command/target_link_libraries.rst
+++ b/Help/command/target_link_libraries.rst
@@ -146,8 +146,10 @@ Libraries for a Target and/or its Dependents
<PRIVATE|PUBLIC|INTERFACE> <item>...
[<PRIVATE|PUBLIC|INTERFACE> <item>...]...)
-The ``PUBLIC``, ``PRIVATE`` and ``INTERFACE`` keywords can be used to
+The ``PUBLIC``, ``PRIVATE`` and ``INTERFACE``
+:ref:`scope <Target Usage Requirements>` keywords can be used to
specify both the link dependencies and the link interface in one command.
+
Libraries and targets following ``PUBLIC`` are linked to, and are made
part of the link interface. Libraries and targets following ``PRIVATE``
are linked to, but are not made part of the link interface. Libraries