From e3f1dc2a5716283afa0d5e2b483eb31902f91ebf Mon Sep 17 00:00:00 2001 From: Nuno Nobre Date: Fri, 27 Feb 2026 19:31:02 +0000 Subject: [PATCH] Help: Clarify what policies a "policy version" sets to NEW Also remove a duplicate sentence. --- Help/command/include/POLICY_VERSION.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Help/command/include/POLICY_VERSION.rst b/Help/command/include/POLICY_VERSION.rst index 08c6afc848..c180dce821 100644 --- a/Help/command/include/POLICY_VERSION.rst +++ b/Help/command/include/POLICY_VERSION.rst @@ -9,11 +9,9 @@ CMake versions, ``[...]``. It sets the "policy version" to: The policy version effectively requests behavior preferred as of a given CMake version and tells newer CMake versions to warn about their new policies. All policies known to the running version of CMake and introduced -in that version or earlier will be set to use ``NEW`` behavior. +in the policy version or earlier will be set to use ``NEW`` behavior. All policies introduced in later versions will be unset (unless the :variable:`CMAKE_POLICY_DEFAULT_CMP` variable sets a default). -This effectively requests behavior preferred as of a given CMake -version and tells newer CMake versions to warn about their new policies. .. note::