CMP0022: Update target_link_libraries plain signature documentation

Make the documentation change made by commit ef10b87c (CMP0022: Plain
target_link_libraries must populate link interface, 2013-11-02) in the
new location for the same documentation.
This commit is contained in:
Brad King 2013-11-03 09:23:02 -05:00
parent 25b7f87eca
commit b51696f003

View File

@ -32,13 +32,16 @@ per-configuration rules by creating and linking to IMPORTED library
targets. See the IMPORTED mode of the add_library command for more targets. See the IMPORTED mode of the add_library command for more
information. information.
Library dependencies are transitive by default. When this target is Library dependencies are transitive by default with this signature.
linked into another target then the libraries linked to this target When this target is linked into another target then the libraries
will appear on the link line for the other target too. See the linked to this target will appear on the link line for the other
INTERFACE_LINK_LIBRARIES target property to override the set of target too. This transitive "link interface" is stored in the
transitive link dependencies for a target. Calls to other signatures INTERFACE_LINK_LIBRARIES target property when policy CMP0022 is set to
of this command may set the property making any libraries linked NEW and may be overridden by setting the property directly.
exclusively by this signature private. (When CMP0022 is not set to NEW, transitive linking is builtin but may
be overridden by the LINK_INTERFACE_LIBRARIES property. Calls to other
signatures of this command may set the property making any libraries
linked exclusively by this signature private.)
CMake will also propagate "usage requirements" from linked library CMake will also propagate "usage requirements" from linked library
targets. Usage requirements affect compilation of sources in the targets. Usage requirements affect compilation of sources in the