summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-10 15:50:40 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-10 16:40:34 (GMT)
commit09721ca0787e3753e6b294c9bd57ca39ef91c230 (patch)
tree6fd39e5f3d6ecc9b9a047d35828e23aab8b2c897 /Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt
parentc40229968cec39590ccdf54402625c83b44581a0 (diff)
downloadCMake-09721ca0787e3753e6b294c9bd57ca39ef91c230.zip
CMake-09721ca0787e3753e6b294c9bd57ca39ef91c230.tar.gz
CMake-09721ca0787e3753e6b294c9bd57ca39ef91c230.tar.bz2
target_link_libraries: Fix out-of-dir calls with debug/optimized keywords
In commit a1ad0a699b (target_link_libraries: Allow use with targets in other directories, 2018-09-07, v3.13.0-rc1~94^2) we added use of `<...>` to encode a directory id, but the closing `>` can incorrectly terminate a surrounding generator expression early. Encode the directory id using `(...)` instead. Fixes: #20202
Diffstat (limited to 'Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt')
-rw-r--r--Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt b/Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt
index 1fdb6ad..fab4418 100644
--- a/Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt
+++ b/Help/prop_tgt/LINK_LIBRARIES_INDIRECTION.txt
@@ -2,8 +2,8 @@
A call to :command:`target_link_libraries(<target> ...)` may update this
property on ``<target>``. If ``<target>`` was not created in the same
directory as the call then :command:`target_link_libraries` will add a
- suffix of the form ``::@<directory-id>`` to each entry, where the
- ``::@`` is a separator and the ``<directory-id>`` is unspecified.
+ suffix of the form ``::@(directory-id)`` to each entry, where the
+ ``::@`` is a separator and the ``(directory-id)`` is unspecified.
This tells the generators that the named libraries must be looked up in
the scope of the caller rather than in the scope in which the
``<target>`` was created. Valid directory ids are stripped on export