Files
Matthew Woehlke a7415d243a Diagnostics: Simplify issuing policy warnings
Add and use a couple helper functions for issuing policy warnings. This
improves consistency and allows some simplification of many call sites.
(One or two instances in particular are greatly simplified.)
2026-05-20 11:55:13 -04:00

13 lines
610 B
Plaintext

CMake Warning \(policy\) at CMP0199-WARN\.cmake:[0-9]+ \(target_link_libraries\):
Policy CMP0199 is not set: \$<CONFIG:cfgs> does not match mapped
configurations that are not selected\. Run "cmake --help-policy CMP0199"
for policy details\. Use the cmake_policy command to set the policy and
suppress this warning\.
Evaluation of \$<CONFIG> for imported target "lib_test", used by "exe_test",
may match multiple configurations\.
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\.