Sfoglia il codice sorgente

Merge topic 'minor-cleanups'

ebeb31d Help: Fix typo in CMP0040 docs.
97b0abb Help: Fix typo in genex docs.
Brad King 12 anni fa
parent
commit
fd2ffb42aa

+ 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
 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::
 
   $<$<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.
 
 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