Browse Source

Merge topic 'minor-cleanups'

ebeb31d Help: Fix typo in CMP0040 docs.
97b0abb Help: Fix typo in genex docs.
Brad King 12 years ago
parent
commit
fd2ffb42aa
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Help/manual/cmake-generator-expressions.7.rst
  2. 1 1
      Help/policy/CMP0040.rst

+ 1 - 1
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
 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
 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::
 property is non-empty::
 
 
   $<$<BOOL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>>:-I$<JOIN:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>, -I>>
   $<$<BOOL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>>:-I$<JOIN:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>, -I>>

+ 1 - 1
Help/policy/CMP0040.rst

@@ -8,7 +8,7 @@ the TARGET signature of :command:`add_custom_command`
 if the target is unknown.
 if the target is unknown.
 
 
 The OLD behavior for this policy is to ignore custom commands
 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.
 if the target referenced in :command:`add_custom_command` is unknown.
 
 
 This policy was introduced in CMake version 3.0.0.  CMake version
 This policy was introduced in CMake version 3.0.0.  CMake version