Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
fba5980fa6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)