mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
The old behavior of $<IN_LIST:...> is inconsistent with that of if(IN_LIST), in that it does not find an empty search item even if the list contains empty items. This change adds a new policy to correctly handle empty items and make the behavior more consistent with if(IN_LIST). Fixes: #18556
34 lines
929 B
Plaintext
34 lines
929 B
Plaintext
CMake Warning \(dev\) at CMP0085-WARN\.cmake:[0-9]+ \(file\):
|
|
Policy CMP0085 is not set: \$<IN_LIST:\.\.\.> handles empty list items\. Run
|
|
"cmake --help-policy CMP0085" for policy details\. Use the cmake_policy
|
|
command to set the policy and suppress this warning\.
|
|
|
|
Search Item:
|
|
|
|
""
|
|
|
|
List:
|
|
|
|
""
|
|
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
|
|
|
CMake Warning \(dev\) at CMP0085-WARN\.cmake:[0-9]+ \(file\):
|
|
Policy CMP0085 is not set: \$<IN_LIST:\.\.\.> handles empty list items\. Run
|
|
"cmake --help-policy CMP0085" for policy details\. Use the cmake_policy
|
|
command to set the policy and suppress this warning\.
|
|
|
|
Search Item:
|
|
|
|
""
|
|
|
|
List:
|
|
|
|
";a"
|
|
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
This warning is for project developers\. Use -Wno-dev to suppress it\.
|