From 60e302a539283133b877f5c5668b69963943a975 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 20 Jan 2025 16:00:20 -0500 Subject: Help: Drop policy scope from cmake-policies(7) The policy stack is covered by the `cmake_policy`, `include`, and `find_package` command documentation. Avoid distracting readers with such details in the main policy introduction. --- Help/manual/cmake-policies.7.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index 3caecbe..89fece6 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -41,12 +41,6 @@ CMake version, the :command:`if(POLICY)` command may be used: This has the effect of using the ``NEW`` behavior with newer CMake releases which users may be using and not issuing a compatibility warning. -The setting of a policy is confined in some cases to not propagate to the -parent scope. For example, if the files read by the :command:`include` command -or the :command:`find_package` command contain a use of :command:`cmake_policy`, -that policy setting will not affect the caller by default. Both commands accept -an optional ``NO_POLICY_SCOPE`` keyword to control this behavior. - Supported Policies ================== -- cgit v0.12