summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-03 13:37:29 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-03 13:39:28 (GMT)
commit0d7114987c78085df6449e93bdda8a1749862025 (patch)
tree75c224b433f683fa81b9ec0afc3d0fed7170d296 /Help
parent51e7d4150756a01d51da38acfd0a469b138e1fde (diff)
downloadCMake-0d7114987c78085df6449e93bdda8a1749862025.zip
CMake-0d7114987c78085df6449e93bdda8a1749862025.tar.gz
CMake-0d7114987c78085df6449e93bdda8a1749862025.tar.bz2
Revert "target_link_libraries: Allow use with targets in other directories"
Revert commit v3.12.0-rc1~82^2 (target_link_libraries: Allow use with targets in other directories, 2018-05-11). The RHS target scoping and visibility rules are not clear and will need further investigation before the feature can be added. Issue: #17943
Diffstat (limited to 'Help')
-rw-r--r--Help/command/target_link_libraries.rst2
-rw-r--r--Help/release/3.12.rst3
2 files changed, 1 insertions, 4 deletions
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
index 6379730..fcc2c07 100644
--- a/Help/command/target_link_libraries.rst
+++ b/Help/command/target_link_libraries.rst
@@ -18,7 +18,7 @@ All of them have the general form::
target_link_libraries(<target> ... <item>... ...)
-The named ``<target>`` must have been created by
+The named ``<target>`` must have been created in the current directory by
a command such as :command:`add_executable` or :command:`add_library` and
must not be an :ref:`ALIAS target <Alias Targets>`.
Repeated calls for the same ``<target>`` append items in the order called.
diff --git a/Help/release/3.12.rst b/Help/release/3.12.rst
index 4d1135e..84ef695 100644
--- a/Help/release/3.12.rst
+++ b/Help/release/3.12.rst
@@ -81,9 +81,6 @@ Commands
:ref:`Object Libraries`. Linking to an object library uses its object
files in direct dependents and also propagates usage requirements.
-* The :command:`target_link_libraries` command may now be called
- to modify targets created outside the current directory.
-
Variables
---------