浏览代码

Help: Fix code example in cmake_parse_arguments.rst

Kai Wolf 7 年之前
父节点
当前提交
b95eda9b11
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)