summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-buildsystem.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-12 17:50:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-03-12 17:50:37 (GMT)
commit2dad62045239053b119d0ae7b795ac6a59b4f7a7 (patch)
treed900f88a1e7a2c74b64267b0c34e57dba7e52260 /Help/manual/cmake-buildsystem.7.rst
parent83071fff759f27f18922df8336826f19518e730c (diff)
parent78756429abe1d0c41596d48315fec96e72cc65f7 (diff)
downloadCMake-2dad62045239053b119d0ae7b795ac6a59b4f7a7.zip
CMake-2dad62045239053b119d0ae7b795ac6a59b4f7a7.tar.gz
CMake-2dad62045239053b119d0ae7b795ac6a59b4f7a7.tar.bz2
Merge topic 'update-buildsystem-docs'
78756429ab Help: Adapt cmake-buildsystem(7) to new IMPORTED targets features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1839
Diffstat (limited to 'Help/manual/cmake-buildsystem.7.rst')
-rw-r--r--Help/manual/cmake-buildsystem.7.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst
index 3516d48..50c4087 100644
--- a/Help/manual/cmake-buildsystem.7.rst
+++ b/Help/manual/cmake-buildsystem.7.rst
@@ -840,12 +840,11 @@ Imported Targets
An :prop_tgt:`IMPORTED` target represents a pre-existing dependency. Usually
such targets are defined by an upstream package and should be treated as
-immutable. It is not possible to use an :prop_tgt:`IMPORTED` target in the
-left-hand-side of the :command:`target_compile_definitions`,
-:command:`target_include_directories`, :command:`target_compile_options` or
-:command:`target_link_libraries` commands, as that would be an attempt to
-modify it. :prop_tgt:`IMPORTED` targets are designed to be used only in the
-right-hand-side of those commands.
+immutable. After declaring an :prop_tgt:`IMPORTED` target one can adjust its
+target properties by using the customary commands such as
+:command:`target_compile_definitions`, :command:`target_include_directories`,
+:command:`target_compile_options` or :command:`target_link_libraries` just like
+with any other regular target.
:prop_tgt:`IMPORTED` targets may have the same usage requirement properties
populated as binary targets, such as