summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-17 19:45:44 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-17 19:47:42 (GMT)
commit1d22ee67aafc2fce51b469fd600a053b9a6e2bc4 (patch)
treef1070281db86e800ea0f84aa5fbc19926ca469b8
parent54ff77dc621a91302abad0ab38d9bd26de8914b9 (diff)
downloadCMake-1d22ee67aafc2fce51b469fd600a053b9a6e2bc4.zip
CMake-1d22ee67aafc2fce51b469fd600a053b9a6e2bc4.tar.gz
CMake-1d22ee67aafc2fce51b469fd600a053b9a6e2bc4.tar.bz2
Help: target_include_directories does not allow target names
Since commit v2.8.11~227^2~1 (Don't allow targets args in the new target commands, 2013-01-29) the target_include_directories command does not support target names on the right hand side, but that commit forgot to remove it from the docs. It was never released with such support. Update the command documentation now.
-rw-r--r--Help/command/target_include_directories.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/target_include_directories.rst b/Help/command/target_include_directories.rst
index 581bace..fd433a8 100644
--- a/Help/command/target_include_directories.rst
+++ b/Help/command/target_include_directories.rst
@@ -9,8 +9,8 @@ Add include directories to a target.
<INTERFACE|PUBLIC|PRIVATE> [items1...]
[<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])
-Specify include directories or targets to use when compiling a given
-target. The named ``<target>`` must have been created by a command such
+Specify include directories to use when compiling a given target.
+The named ``<target>`` must have been created by a command such
as :command:`add_executable` or :command:`add_library` and must not be an
:prop_tgt:`IMPORTED` target.