Explorar el Código

Help: Fix code example in cmake_parse_arguments.rst

Kai Wolf hace 8 años
padre
commit
b95eda9b11
Se han modificado 1 ficheros con 1 adiciones y 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)