Files
cmake/Tests/RunCMake/CMP0126/CMP0126-WARN-stderr.txt
Matthew Woehlke 028d3183ad Diagnostics: Add POLICY, EXPERIMENTAL
Add new diagnostic categories CMD_POLICY and CMD_EXPERIMENTAL, both as
children of CMD_AUTHOR. Use the former when issuing policy warnings. Use
the latter when issuing experimental feature warnings.
2026-05-15 09:57:23 -04:00

12 lines
580 B
Plaintext

CMake Warning \(policy\) at CMP0126-WARN\.cmake:[0-9]+ \(set\):
Policy CMP0126 is not set: set\(CACHE\) does not remove a normal variable of
the same name\. Run "cmake --help-policy CMP0126" for policy details\. Use
the cmake_policy command to set the policy and suppress this warning\.
For compatibility with older versions of CMake, normal variable "MY_VAR"
will be removed from the current scope\.
Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-author or -Wno-policy to
suppress it\.