diff options
author | Brad King <brad.king@kitware.com> | 2022-02-03 11:10:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-02-03 11:21:37 (GMT) |
commit | ec29a6a1a96c7f2a24de9682a656c40ef4061da4 (patch) | |
tree | fb18395c9b98d6c8104a142cd8302707acebe2c7 /Help/manual/cmake-buildsystem.7.rst | |
parent | 92459258108c0036808f29f83a8503fea18ccee9 (diff) | |
download | CMake-ec29a6a1a96c7f2a24de9682a656c40ef4061da4.zip CMake-ec29a6a1a96c7f2a24de9682a656c40ef4061da4.tar.gz CMake-ec29a6a1a96c7f2a24de9682a656c40ef4061da4.tar.bz2 |
Help: Clarify documentation on SYSTEM include directories
Mention that system include directories are searched after normal
include directories.
Document that `IMPORTED_NO_SYSTEM` and `NO_SYSTEM_FROM_IMPORTED`
do not affect `INTERFACE_SYSTEM_INCLUDE_DIRECTORIES`.
Diffstat (limited to 'Help/manual/cmake-buildsystem.7.rst')
-rw-r--r-- | Help/manual/cmake-buildsystem.7.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst index 2f43070..f48313a 100644 --- a/Help/manual/cmake-buildsystem.7.rst +++ b/Help/manual/cmake-buildsystem.7.rst @@ -675,7 +675,9 @@ 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 by setting the :prop_tgt:`NO_SYSTEM_FROM_IMPORTED` target -property on the *consumers* of imported targets. +property on the *consumers* of imported targets, or by setting the +:prop_tgt:`IMPORTED_NO_SYSTEM` target property on the imported targets +themselves. If a binary target is linked transitively to a macOS :prop_tgt:`FRAMEWORK`, the ``Headers`` directory of the framework is also treated as a usage requirement. |