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
6 lines
171 B
ReStructuredText
6 lines
171 B
ReStructuredText
genex-in_list-empty-args
|
|
------------------------
|
|
|
|
* The $<IN_LIST:...> generator expression now correctly handles an empty
|
|
argument. See :policy:`CMP0085` for details.
|