mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
Help/CMP0102: mention the varible that controls CMP0102 warnings
This was missed in the review of !4150, but was noticed during discussion of #22353.
This commit is contained in:
@@ -22,6 +22,8 @@ already exist in the cache.
|
|||||||
This policy was introduced in CMake version 3.17. Use the
|
This policy was introduced in CMake version 3.17. Use the
|
||||||
:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
|
:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
|
||||||
Unlike many policies, CMake version |release| does *not* warn
|
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
|
.. include:: DEPRECATED.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user