summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-01-09 13:53:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-09 18:45:08 (GMT)
commit2f15a0772772977529afe159f5f9146941cbfbc8 (patch)
tree608d3c39e0dff176f2bc974fec3d2c06621e28ff /Help
parentbb8bde35b8eb75d0edb8bc2812ddc22bdc61fd58 (diff)
downloadCMake-2f15a0772772977529afe159f5f9146941cbfbc8.zip
CMake-2f15a0772772977529afe159f5f9146941cbfbc8.tar.gz
CMake-2f15a0772772977529afe159f5f9146941cbfbc8.tar.bz2
Help: Link to CMAKE_POLICY_DEFAULT_CMP<NNNN> in policies manual.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-policies.7.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 9138660..c469de0 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -16,7 +16,9 @@ versions will begin to warn about the backward compatible behavior. It
is possible to disable the warning by explicitly requesting the OLD, or
backward compatible behavior using the :command:`cmake_policy` command.
It is also possible to request NEW, or non-backward compatible behavior
-for a policy, also avoiding the warning.
+for a policy, also avoiding the warning. Each policy can also be set to
+either NEW or OLD behavior explicitly on the command line with the
+:variable:`CMAKE_POLICY_DEFAULT_CMP<NNNN>` variable.
The :command:`cmake_minimum_required` command does more than report an
error if a too-old version of CMake is used to build a project. It