summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0102.rst
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-06-28 12:17:25 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-06-28 12:17:25 (GMT)
commit894645d4a6f2edb86923347dd1a7f4808b430ced (patch)
tree814fdab2515c48c540e5d77fe8e814832d2f9447 /Help/policy/CMP0102.rst
parent4a0e68266b74479275ca62aca258ca876bc15fc4 (diff)
downloadCMake-894645d4a6f2edb86923347dd1a7f4808b430ced.zip
CMake-894645d4a6f2edb86923347dd1a7f4808b430ced.tar.gz
CMake-894645d4a6f2edb86923347dd1a7f4808b430ced.tar.bz2
Help/CMP0102: mention the varible that controls CMP0102 warnings
This was missed in the review of !4150, but was noticed during discussion of #22353.
Diffstat (limited to 'Help/policy/CMP0102.rst')
-rw-r--r--Help/policy/CMP0102.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/policy/CMP0102.rst b/Help/policy/CMP0102.rst
index 78b5584..08024bf 100644
--- a/Help/policy/CMP0102.rst
+++ b/Help/policy/CMP0102.rst
@@ -22,6 +22,8 @@ already exist in the cache.
This policy was introduced in CMake version 3.17. Use the
:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
Unlike many policies, CMake version |release| does *not* warn
-when this policy is not set and simply uses ``OLD`` behavior.
+when this policy is not set and simply uses ``OLD`` behavior. See
+documentation of the :variable:`CMAKE_POLICY_WARNING_CMP0102
+<CMAKE_POLICY_WARNING_CMP<NNNN>>` variable to control the warning.
.. include:: DEPRECATED.txt