Help: Improve explanation on CMAKE_POLICY_WARNING warnings occur

This commit is contained in:
Robert Maynard
2021-09-15 09:12:01 -04:00
parent c2c1c701c7
commit 1230ceb97e

View File

@@ -2,8 +2,9 @@ CMAKE_POLICY_WARNING_CMP<NNNN>
------------------------------
Explicitly enable or disable the warning when CMake Policy ``CMP<NNNN>``
is not set. This is meaningful only for the few policies that do not
warn by default:
has not been set explicitly by :command:`cmake_policy` or implicitly
by :command:`cmake_minimum_required`. This is meaningful
only for the policies that do not warn by default:
* ``CMAKE_POLICY_WARNING_CMP0025`` controls the warning for
policy :policy:`CMP0025`.