summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-07-27 14:06:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-07-27 14:06:22 (GMT)
commit07ac0c0ae0bcd7231b6c834303531c313af28090 (patch)
tree942c2ae236a6de3db67769131c1bc93de343645e /Help/command
parent054ed1c594e27cecee65d1681943d18ad66168f1 (diff)
parent7050ac56a11768c90f55654aa3f63d02bb549243 (diff)
downloadCMake-07ac0c0ae0bcd7231b6c834303531c313af28090.zip
CMake-07ac0c0ae0bcd7231b6c834303531c313af28090.tar.gz
CMake-07ac0c0ae0bcd7231b6c834303531c313af28090.tar.bz2
Merge topic 'xcframework-target-link-libraries'
7050ac56a1 macOS: Add support for linking against .xcframework folders 93ed53790c bootstrap: Unconditionally build libjsoncpp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8619
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/target_link_libraries.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
index 1d27660..cc6bc0f 100644
--- a/Help/command/target_link_libraries.rst
+++ b/Help/command/target_link_libraries.rst
@@ -66,6 +66,12 @@ Each ``<item>`` may be:
:ref:`usage requirement <Target Usage Requirements>`. This has the same
effect as passing the framework directory as an include directory.
+ .. versionadded:: 3.28
+
+ The library file may point to a ``.xcframework`` folder on macOS. If it
+ does, the target will get the selected library's ``Headers`` directory as
+ a usage requirement.
+
.. versionadded:: 3.8
On :ref:`Visual Studio Generators` for VS 2010 and above, library files
ending in ``.targets`` will be treated as MSBuild targets files and