mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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.)
13 lines
610 B
Plaintext
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\.
|