CMD_POLICY
Added in version 4.4.
- Command Line:
- Presets:
- Default:
-
Warn
- Parent:
Warn if a build system potentially depends on the OLD behavior of a CMake Policy. See the cmake_policy() command for more details. Setting a policy to OLD will also disable warnings for that specific policy.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/diagnostic/CMD_POLICY.html