Explorar o código

Help/cmake_minimum_required: clarify policy_max `versionadded` note

While the prose clarifies this below, a quick glance at the docs can
make one believe that `...3.10` has no sensible use. However, it is
still useful to tell CMake 3.12 and up that at least 3.10 behavior is
accepted.
Ben Boeckel hai 11 meses
pai
achega
48095c623f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Help/command/cmake_minimum_required.rst

+ 1 - 1
Help/command/cmake_minimum_required.rst

@@ -8,7 +8,7 @@ Require a minimum version of cmake.
   cmake_minimum_required(VERSION <min>[...<policy_max>] [FATAL_ERROR])
   cmake_minimum_required(VERSION <min>[...<policy_max>] [FATAL_ERROR])
 
 
 .. versionadded:: 3.12
 .. versionadded:: 3.12
-  The optional ``<policy_max>`` version.
+  The optional ``<policy_max>`` version behavior; ignored in older CMake.
 
 
 Sets the minimum required version of cmake for a project.
 Sets the minimum required version of cmake for a project.
 Also updates the policy settings as explained below.
 Also updates the policy settings as explained below.