Help: Fix cmake_parse_arguments version note

Don't imply that cmake_parse_arguments() requires CMake 3.5+.
This commit is contained in:
Nikita Nemkin
2020-11-26 02:22:50 +05:00
parent dafcef8b50
commit 05c3060b10
+4 -2
View File
@@ -1,8 +1,6 @@
cmake_parse_arguments cmake_parse_arguments
--------------------- ---------------------
.. versionadded:: 3.5
Parse function or macro arguments. Parse function or macro arguments.
.. code-block:: cmake .. code-block:: cmake
@@ -13,6 +11,10 @@ Parse function or macro arguments.
cmake_parse_arguments(PARSE_ARGV <N> <prefix> <options> cmake_parse_arguments(PARSE_ARGV <N> <prefix> <options>
<one_value_keywords> <multi_value_keywords>) <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. This command is for use in macros or functions.
It processes the arguments given to that macro or function, It processes the arguments given to that macro or function,
and defines a set of variables which hold the values of the and defines a set of variables which hold the values of the