summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Help/policy/DISALLOWED_COMMAND.txt
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.22/Help/policy/DISALLOWED_COMMAND.txt')
-rw-r--r--share/cmake-3.22/Help/policy/DISALLOWED_COMMAND.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/policy/DISALLOWED_COMMAND.txt b/share/cmake-3.22/Help/policy/DISALLOWED_COMMAND.txt
new file mode 100644
index 0000000..6500bb0
--- /dev/null
+++ b/share/cmake-3.22/Help/policy/DISALLOWED_COMMAND.txt
@@ -0,0 +1,9 @@
+CMake >= |disallowed_version| prefer that this command never be called.
+The ``OLD`` behavior for this policy is to allow the command to be called.
+The ``NEW`` behavior for this policy is to issue a ``FATAL_ERROR`` when the
+command is called.
+
+This policy was introduced in CMake version |disallowed_version|.
+CMake version |release| warns when the policy is not set and uses
+``OLD`` behavior. Use the :command:`cmake_policy` command to set it to ``OLD`` or
+``NEW`` explicitly.