From 2f15a0772772977529afe159f5f9146941cbfbc8 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 9 Jan 2014 14:53:38 +0100 Subject: Help: Link to CMAKE_POLICY_DEFAULT_CMP in policies manual. --- Help/manual/cmake-policies.7.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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` 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 -- cgit v0.12