Browse Source

Help: Fix code example in cmake_parse_arguments.rst

Kai Wolf 7 years ago
parent
commit
b95eda9b11
1 changed files with 1 additions and 1 deletions
  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
 .. code-block:: cmake
 
 
-   function(MY_INSTALL)
+   macro(my_install)
        set(options OPTIONAL FAST)
        set(options OPTIONAL FAST)
        set(oneValueArgs DESTINATION RENAME)
        set(oneValueArgs DESTINATION RENAME)
        set(multiValueArgs TARGETS CONFIGURATIONS)
        set(multiValueArgs TARGETS CONFIGURATIONS)