• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1INTERFACE_LINK_LIBRARIES
2------------------------
3
4List public interface libraries for a library.
5
6This property contains the list of transitive link dependencies.  When
7the target is linked into another target using the
8:command:`target_link_libraries` command, the libraries listed (and
9recursively their link interface libraries) will be provided to the
10other target also.  This property is overridden by the
11:prop_tgt:`LINK_INTERFACE_LIBRARIES` or
12:prop_tgt:`LINK_INTERFACE_LIBRARIES_<CONFIG>` property if policy
13:policy:`CMP0022` is ``OLD`` or unset.
14
15Contents of ``INTERFACE_LINK_LIBRARIES`` may use "generator expressions"
16with the syntax ``$<...>``.  See the :manual:`cmake-generator-expressions(7)`
17manual for available expressions.  See the :manual:`cmake-buildsystem(7)`
18manual for more on defining buildsystem properties.
19
20.. include:: LINK_LIBRARIES_INDIRECTION.txt
21
22Creating Relocatable Packages
23^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25.. |INTERFACE_PROPERTY_LINK| replace:: ``INTERFACE_LINK_LIBRARIES``
26.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt
27