summaryrefslogtreecommitdiffstats
path: root/Help/command/add_library.rst
diff options
context:
space:
mode:
authorDeniz Bahadir <dbahadir@benocs.com>2017-09-14 11:15:08 (GMT)
committerBrad King <brad.king@kitware.com>2017-10-26 13:11:04 (GMT)
commit494906a8a21f44e9233632d9be7f93ee3990aaaf (patch)
tree027746c20b4cc38e33f4ec9e30e295c2d89da23a /Help/command/add_library.rst
parentfe4b25ec2fa09a50b6ffbfcf29e118afdfba0659 (diff)
downloadCMake-494906a8a21f44e9233632d9be7f93ee3990aaaf.zip
CMake-494906a8a21f44e9233632d9be7f93ee3990aaaf.tar.gz
CMake-494906a8a21f44e9233632d9be7f93ee3990aaaf.tar.bz2
Add support for IMPORTED GLOBAL targets to be aliased
Issue: #15569 Issue: #17197
Diffstat (limited to 'Help/command/add_library.rst')
-rw-r--r--Help/command/add_library.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 78b316d..4e85d8c 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -125,7 +125,8 @@ Alias Libraries
Creates an :ref:`Alias Target <Alias Targets>`, such that ``<name>`` can be
used to refer to ``<target>`` in subsequent commands. The ``<name>`` does
not appear in the generated buildsystem as a make target. The ``<target>``
-may not be an :ref:`Imported Target <Imported Targets>` or an ``ALIAS``.
+may not be a non-``GLOBAL`` :ref:`Imported Target <Imported Targets>` or an
+``ALIAS``.
``ALIAS`` targets can be used as linkable targets and as targets to
read properties from. They can also be tested for existence with the
regular :command:`if(TARGET)` subcommand. The ``<name>`` may not be used