From 1d22ee67aafc2fce51b469fd600a053b9a6e2bc4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 17 Nov 2014 14:45:44 -0500 Subject: 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. --- Help/command/target_include_directories.rst | 4 ++-- 1 file 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. [items1...] [ [items2...] ...]) -Specify include directories or targets to use when compiling a given -target. The named ```` must have been created by a command such +Specify include directories to use when compiling a given target. +The named ```` 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. -- cgit v0.12