diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 2a2b7dc27..bd9e7c20a 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -154,7 +154,7 @@ comparison:: generates a string of the entries in the :prop_tgt:`INCLUDE_DIRECTORIES` target property with each entry preceeded by ``-I``. Note that a more-complete use -in this situation would be require first checking if the INCLUDE_DIRECTORIES +in this situation would require first checking if the INCLUDE_DIRECTORIES property is non-empty:: $<$>:-I$, -I>> diff --git a/Help/policy/CMP0040.rst b/Help/policy/CMP0040.rst index 99b54ff31..5d27f6230 100644 --- a/Help/policy/CMP0040.rst +++ b/Help/policy/CMP0040.rst @@ -8,7 +8,7 @@ the TARGET signature of :command:`add_custom_command` if the target is unknown. The OLD behavior for this policy is to ignore custom commands -for unknown targets. The NEW behavior for this policy is to report and error +for unknown targets. The NEW behavior for this policy is to report an error if the target referenced in :command:`add_custom_command` is unknown. This policy was introduced in CMake version 3.0.0. CMake version