Files
cmake/Tests/RunCMake/CMP0156/CMP0156-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

39 lines
1.8 KiB
Plaintext

CMake Warning \(policy\) at CMP0156-Common\.cmake:[0-9]+ \(add_library\):
Policy CMP0156 is not set: De-duplicate libraries on link lines based on
linker capabilities\. Run "cmake --help-policy CMP0156" for policy details\.
Use the cmake_policy command to set the policy and suppress this warning\.
Since the policy is not set, legacy libraries de-duplication strategy will
be applied\.
Call Stack \(most recent call first\):
CMP0156-WARN\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-author or -Wno-policy to
suppress it\.
CMake Warning \(policy\) at CMP0156-Common\.cmake:[0-9]+ \(add_library\):
Policy CMP0156 is not set: De-duplicate libraries on link lines based on
linker capabilities\. Run "cmake --help-policy CMP0156" for policy details\.
Use the cmake_policy command to set the policy and suppress this warning\.
Since the policy is not set, legacy libraries de-duplication strategy will
be applied\.
Call Stack \(most recent call first\):
CMP0156-WARN\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-author or -Wno-policy to
suppress it\.
CMake Warning \(policy\) at CMP0156-Common\.cmake:[0-9]+ \(add_executable\):
Policy CMP0156 is not set: De-duplicate libraries on link lines based on
linker capabilities\. Run "cmake --help-policy CMP0156" for policy details\.
Use the cmake_policy command to set the policy and suppress this warning\.
Since the policy is not set, legacy libraries de-duplication strategy will
be applied\.
Call Stack \(most recent call first\):
CMP0156-WARN\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-author or -Wno-policy to
suppress it\.