diff options
author | Brad King <brad.king@kitware.com> | 2018-07-03 13:37:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-03 13:39:28 (GMT) |
commit | 0d7114987c78085df6449e93bdda8a1749862025 (patch) | |
tree | 75c224b433f683fa81b9ec0afc3d0fed7170d296 /Help/command/target_link_libraries.rst | |
parent | 51e7d4150756a01d51da38acfd0a469b138e1fde (diff) | |
download | CMake-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/command/target_link_libraries.rst')
-rw-r--r-- | Help/command/target_link_libraries.rst | 2 |
1 files changed, 1 insertions, 1 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. |