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:
-
CMAKE_POLICY_WARNING_CMP0025controls the warning for policyCMP0025. -
CMAKE_POLICY_WARNING_CMP0047controls the warning for policyCMP0047. -
CMAKE_POLICY_WARNING_CMP0056controls the warning for policyCMP0056. -
CMAKE_POLICY_WARNING_CMP0060controls the warning for policyCMP0060. -
CMAKE_POLICY_WARNING_CMP0065controls the warning for policyCMP0065. -
CMAKE_POLICY_WARNING_CMP0066controls the warning for policyCMP0066. -
CMAKE_POLICY_WARNING_CMP0067controls the warning for policyCMP0067.
This variable should not be set by a project in CMake code. Project developers running CMake may set this variable in their cache to enable the warning (e.g. -DCMAKE_POLICY_WARNING_CMP<NNNN>=ON). Alternatively, running cmake(1) with the --debug-output, --trace, or --trace-expand option will also enable the warning.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.10/variable/CMAKE_POLICY_WARNING_CMPNNNN.html