Browse Source

Help: get/set_property: Fix SOURCE grammars

FeRD (Frank Dana) 4 years ago
parent
commit
0c0ba17493
2 changed files with 3 additions and 3 deletions
  1. 1 1
      Help/command/get_property.rst
  2. 2 2
      Help/command/set_property.rst

+ 1 - 1
Help/command/get_property.rst

@@ -9,7 +9,7 @@ Get a property.
                <GLOBAL             |
                 DIRECTORY [<dir>]  |
                 TARGET    <target> |
-                SOURCE    <source> |
+                SOURCE    <source>
                           [DIRECTORY <dir> | TARGET_DIRECTORY <target>] |
                 INSTALL   <file>   |
                 TEST      <test>   |

+ 2 - 2
Help/command/set_property.rst

@@ -9,8 +9,8 @@ Set a named property in a given scope.
                 DIRECTORY [<dir>]           |
                 TARGET    [<target1> ...]   |
                 SOURCE    [<src1> ...]
-                          [DIRECTORY <dirs> ...] |
-                          [TARGET_DIRECTORY <targets> ...]
+                          [DIRECTORY <dirs> ...]
+                          [TARGET_DIRECTORY <targets> ...] |
                 INSTALL   [<file1> ...]     |
                 TEST      [<test1> ...]     |
                 CACHE     [<entry1> ...]    >