summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0066.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/policy/CMP0066.rst')
-rw-r--r--Help/policy/CMP0066.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Help/policy/CMP0066.rst b/Help/policy/CMP0066.rst
index b08430f..fa4bc5c 100644
--- a/Help/policy/CMP0066.rst
+++ b/Help/policy/CMP0066.rst
@@ -20,9 +20,11 @@ built-in defaults for the current compiler and platform.
The ``NEW`` behavior of this policy is to honor config-specific flag
variabldes like :variable:`CMAKE_<LANG>_FLAGS_DEBUG`.
-This policy was introduced in CMake version 3.7. Unlike most policies,
-CMake version |release| does *not* warn by default when this policy
-is not set and simply uses ``OLD`` behavior. See documentation of the
+.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.7
+.. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn by default
+.. include:: STANDARD_ADVICE.txt
+
+See documentation of the
:variable:`CMAKE_POLICY_WARNING_CMP0066 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
variable to control the warning.