diff options
author | Brad King <brad.king@kitware.com> | 2017-10-13 18:27:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-13 18:32:15 (GMT) |
commit | 22beb07f9871338c3cdc1ce47bf1da0433519547 (patch) | |
tree | 8e862c98a0b6e99270e957dbf07243f1f5008e69 /Help/manual/cmake-buildsystem.7.rst | |
parent | 2de0e0fdfaed1c10d3b38a8fb7ff86698a0308aa (diff) | |
download | CMake-22beb07f9871338c3cdc1ce47bf1da0433519547.zip CMake-22beb07f9871338c3cdc1ce47bf1da0433519547.tar.gz CMake-22beb07f9871338c3cdc1ce47bf1da0433519547.tar.bz2 |
Help: Clarify documentation of NO_SYSTEM_FROM_IMPORTED
This property is meant to be set on the consumers of imported targets,
not the imported targets themselves.
Fixes: #17348
Diffstat (limited to 'Help/manual/cmake-buildsystem.7.rst')
-rw-r--r-- | Help/manual/cmake-buildsystem.7.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst index 5cfe725..ae538ed 100644 --- a/Help/manual/cmake-buildsystem.7.rst +++ b/Help/manual/cmake-buildsystem.7.rst @@ -687,7 +687,8 @@ property are treated as ``SYSTEM`` include directories, as if they were listed in the :prop_tgt:`INTERFACE_SYSTEM_INCLUDE_DIRECTORIES` of the dependency. This can result in omission of compiler warnings for headers found in those directories. This behavior for :ref:`imported targets` may -be controlled with the :prop_tgt:`NO_SYSTEM_FROM_IMPORTED` target property. +be controlled by setting the :prop_tgt:`NO_SYSTEM_FROM_IMPORTED` target +property on the *consumers* of imported targets. If a binary target is linked transitively to a Mac OX framework, the ``Headers`` directory of the framework is also treated as a usage requirement. |