Help: Explain block() policy-scope rules more clearly

This commit is contained in:
FeRD (Frank Dana)
2023-08-30 14:37:13 -04:00
committed by Craig Scott
parent 2f319c6484
commit bbf3ed5422
2 changed files with 5 additions and 5 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ scopes created by the ``block()`` command are removed.
``POLICIES``
Create a new policy scope. This is equivalent to
:command:`cmake_policy(PUSH)`.
:command:`cmake_policy(PUSH)` with an automatic
:command:`cmake_policy(POP)` when leaving the block scope.
``VARIABLES``
Create a new variable scope.