diff options
author | Brad King <brad.king@kitware.com> | 2014-01-09 21:26:30 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-09 21:26:30 (GMT) |
commit | 98bdd78afc4dfce9a6ef02d80a94c4b653ccd0b8 (patch) | |
tree | 2923b626039f7c81efacaa15e41eee7bde870de0 /Help/manual/cmake-policies.7.rst | |
parent | e56530f6121a96c0434cba673d530366907df980 (diff) | |
parent | 2f15a0772772977529afe159f5f9146941cbfbc8 (diff) | |
download | CMake-98bdd78afc4dfce9a6ef02d80a94c4b653ccd0b8.zip CMake-98bdd78afc4dfce9a6ef02d80a94c4b653ccd0b8.tar.gz CMake-98bdd78afc4dfce9a6ef02d80a94c4b653ccd0b8.tar.bz2 |
Merge topic 'extend-docs'
2f15a07 Help: Link to CMAKE_POLICY_DEFAULT_CMP<NNNN> in policies manual.
bb8bde3 Help: Add notes about relocatability of config-file packages.
Diffstat (limited to 'Help/manual/cmake-policies.7.rst')
-rw-r--r-- | Help/manual/cmake-policies.7.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index c9f39c4..4bee05e 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 |