diff options
author | Brad King <brad.king@kitware.com> | 2022-07-18 15:01:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-07-18 15:01:58 (GMT) |
commit | 9d9c09b3df784b9ea8dd1f576bfb379bc3772391 (patch) | |
tree | e9e20c908ca418d8917b4cb62ccc67a37e0c20bf | |
parent | df559cd8c836f5534e2f22fa3dec71417471c5ac (diff) | |
parent | f585c61667c687690cdaf232edc3c91545d59c49 (diff) | |
download | CMake-9d9c09b3df784b9ea8dd1f576bfb379bc3772391.zip CMake-9d9c09b3df784b9ea8dd1f576bfb379bc3772391.tar.gz CMake-9d9c09b3df784b9ea8dd1f576bfb379bc3772391.tar.bz2 |
Merge topic 'doc-LINK_LIBRARIES_ONLY_TARGETS_direct_deps' into release-3.24
f585c61667 Help: LINK_LIBRARIES_ONLY_TARGETS also checks injected direct libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7466
-rw-r--r-- | Help/prop_tgt/LINK_LIBRARIES_ONLY_TARGETS.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/prop_tgt/LINK_LIBRARIES_ONLY_TARGETS.rst b/Help/prop_tgt/LINK_LIBRARIES_ONLY_TARGETS.rst index a9af74d..0749c6f 100644 --- a/Help/prop_tgt/LINK_LIBRARIES_ONLY_TARGETS.rst +++ b/Help/prop_tgt/LINK_LIBRARIES_ONLY_TARGETS.rst @@ -8,6 +8,8 @@ Enforce that link items that can be target names are actually existing targets. Set this property to a true value to enable additional checks on the contents of the :prop_tgt:`LINK_LIBRARIES` and :prop_tgt:`INTERFACE_LINK_LIBRARIES` target properties, typically populated by :command:`target_link_libraries`. +Checks are also applied to libraries added to a target through the +:prop_tgt:`INTERFACE_LINK_LIBRARIES_DIRECT` properties of its dependencies. CMake will verify that link items that might be target names actually name existing targets. An item is considered a possible target name if: |