Procházet zdrojové kódy

Merge topic 'fix_help_cmake_parse_arguments'

b95eda9b Help: Fix code example in cmake_parse_arguments.rst

Acked-by: Kitware Robot <[email protected]>
Merge-request: !1747
Brad King před 7 roky
rodič
revize
fba5980fa6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Help/command/cmake_parse_arguments.rst

+ 1 - 1
Help/command/cmake_parse_arguments.rst

@@ -62,7 +62,7 @@ as the real :command:`install` command:
 
 .. code-block:: cmake
 
-   function(MY_INSTALL)
+   macro(my_install)
        set(options OPTIONAL FAST)
        set(oneValueArgs DESTINATION RENAME)
        set(multiValueArgs TARGETS CONFIGURATIONS)