Help: Link to CMAKE_POLICY_DEFAULT_CMP<NNNN> in policies manual.

This commit is contained in:
Stephen Kelly 2014-01-09 14:53:38 +01:00
parent bb8bde35b8
commit 2f15a07727
1 changed files with 3 additions and 1 deletions

View File

@ -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