summaryrefslogtreecommitdiffstats
path: root/Help/command/target_link_libraries.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-11-22 12:16:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-25 15:00:35 (GMT)
commitbb1111eaa220eb534338410e2d1ffcf696f9ae44 (patch)
tree0ab92098a49fc6b65d06fa87d858e40b2f79d5df /Help/command/target_link_libraries.rst
parent96691d126bb1d1e3a9c7fc049429a36032a98346 (diff)
downloadCMake-bb1111eaa220eb534338410e2d1ffcf696f9ae44.zip
CMake-bb1111eaa220eb534338410e2d1ffcf696f9ae44.tar.gz
CMake-bb1111eaa220eb534338410e2d1ffcf696f9ae44.tar.bz2
Help: Warn that paths should not be used in INTERFACE_ build properties.
Diffstat (limited to 'Help/command/target_link_libraries.rst')
-rw-r--r--Help/command/target_link_libraries.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
index 39537a7..e6a82b6 100644
--- a/Help/command/target_link_libraries.rst
+++ b/Help/command/target_link_libraries.rst
@@ -49,6 +49,9 @@ CMake will also propagate :ref:`usage requirements <Target Usage Requirements>`
from linked library targets. Usage requirements of dependencies affect
compilation of sources in the ``<target>``.
+.. |INTERFACE_PROPERTY_LINK| replace:: :prop_tgt:`INTERFACE_LINK_LIBRARIES`
+.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt
+
If an ``<item>`` is a library in a Mac OX framework, the ``Headers``
directory of the framework will also be processed as a
:ref:`usage requirement <Target Usage Requirements>`. This has the same