mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
Merge topic 'out-of-dir-link-list'
f0e67da061target_link_libraries: Fix out-of-dir linking of a list of targetsacee629103cmTargetLinkLibrariesCommand: Move HandleLibrary to helper structba675f1eccTests: Enable CMP0022 in ExportImport out-of-dir linking case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4226
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
.. note::
|
||||
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.
|
||||
directory as the call then :command:`target_link_libraries` will wrap each
|
||||
entry with the form ``::@(directory-id);...;::@``, where the ``::@`` is
|
||||
literal 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
|
||||
|
||||
Reference in New Issue
Block a user