From 894645d4a6f2edb86923347dd1a7f4808b430ced Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 28 Jun 2021 08:17:25 -0400 Subject: Help/CMP0102: mention the varible that controls CMP0102 warnings This was missed in the review of !4150, but was noticed during discussion of #22353. --- Help/policy/CMP0102.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +>` variable to control the warning. .. include:: DEPRECATED.txt -- cgit v0.12