summaryrefslogtreecommitdiff
path: root/Help/command
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2020-11-26 02:22:50 +0500
committerNikita Nemkin <nikita@nemkin.ru>2020-12-02 21:00:28 +0500
commit05c3060b10dcd34cd148961f20c9ae0e64b12757 (patch)
tree1d57dd9922959e130c7e21009e1d6679f777acc0 /Help/command
parentdafcef8b501e6eeb185daeb2ae46086aacd33e0e (diff)
downloadcmake-05c3060b10dcd34cd148961f20c9ae0e64b12757.tar.gz
Help: Fix cmake_parse_arguments version note
Don't imply that cmake_parse_arguments() requires CMake 3.5+.
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/cmake_parse_arguments.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/command/cmake_parse_arguments.rst b/Help/command/cmake_parse_arguments.rst
index 8dedc80108..7c85da6103 100644
--- a/Help/command/cmake_parse_arguments.rst
+++ b/Help/command/cmake_parse_arguments.rst
@@ -1,8 +1,6 @@
cmake_parse_arguments
---------------------
-.. versionadded:: 3.5
-
Parse function or macro arguments.
.. code-block:: cmake
@@ -13,6 +11,10 @@ Parse function or macro arguments.
cmake_parse_arguments(PARSE_ARGV <N> <prefix> <options>
<one_value_keywords> <multi_value_keywords>)
+.. versionadded:: 3.5
+ This command is implemented natively. Previously, it has been defined in the
+ module :module:`CMakeParseArguments`.
+
This command is for use in macros or functions.
It processes the arguments given to that macro or function,
and defines a set of variables which hold the values of the