diff options
author | Brad King <brad.king@kitware.com> | 2022-06-21 14:45:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-06-21 14:46:03 (GMT) |
commit | 8d8957e56d8a58fd3966618eff742def509cfd39 (patch) | |
tree | 84cf899fe8475a063ec92fdad312fe876070dc66 /Help/prop_tgt/IMPORTED_NO_SYSTEM.rst | |
parent | b27c3700e6d602f0c658ce78709b725a244297e0 (diff) | |
parent | 9680b3b2794b635b23fcbc072ed9ce9dac3c2333 (diff) | |
download | CMake-8d8957e56d8a58fd3966618eff742def509cfd39.zip CMake-8d8957e56d8a58fd3966618eff742def509cfd39.tar.gz CMake-8d8957e56d8a58fd3966618eff742def509cfd39.tar.bz2 |
Merge topic 'add_export_no_system'
9680b3b279 Add EXPORT_NO_SYSTEM target property, deprecate IMPORTED_NO_SYSTEM
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7379
Diffstat (limited to 'Help/prop_tgt/IMPORTED_NO_SYSTEM.rst')
-rw-r--r-- | Help/prop_tgt/IMPORTED_NO_SYSTEM.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst b/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst index 49228ad..913d9f2 100644 --- a/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst +++ b/Help/prop_tgt/IMPORTED_NO_SYSTEM.rst @@ -3,6 +3,15 @@ IMPORTED_NO_SYSTEM .. versionadded:: 3.23 +.. deprecated:: 3.25 + + ``IMPORTED_NO_SYSTEM`` is deprecated. Set :prop_tgt:`SYSTEM` to `OFF` + instead if you don't want target's include directories to be ``SYSTEM`` + when compiling consumers. Set :prop_tgt:`EXPORT_NO_SYSTEM` to `ON` instead + if you don't want the include directories of the imported target generated + by :command:`install(EXPORT)` and :command:`export` commands to be + ``SYSTEM`` when compiling consumers. + Specifies that an :ref:`Imported Target <Imported Targets>` is not a ``SYSTEM`` library. This has the following effects: |