diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2018-11-06 16:27:03 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2018-11-19 22:02:06 (GMT) |
commit | b5f8113ca7796df47bcb04bcd77991885c3b1b07 (patch) | |
tree | 60304b3a34939b475a4314dd6dce11f34e2922f7 /Help/manual | |
parent | 1dc85a6652bc8255ff7a9ef39028a7df45e3007b (diff) | |
download | CMake-b5f8113ca7796df47bcb04bcd77991885c3b1b07.zip CMake-b5f8113ca7796df47bcb04bcd77991885c3b1b07.tar.gz CMake-b5f8113ca7796df47bcb04bcd77991885c3b1b07.tar.bz2 |
Genex: Add policy to handle empty list items in $<IN_LIST:...>
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
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-policies.7.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index 7c0fe6d..044a06e 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -57,6 +57,7 @@ Policies Introduced by CMake 3.14 .. toctree:: :maxdepth: 1 + CMP0085: IN_LIST generator expression handles empty list items. </policy/CMP0085> CMP0084: The FindQt module does not exist for find_package(). </policy/CMP0084> CMP0083: Add PIE options when linking executable. </policy/CMP0083> CMP0082: Install rules from add_subdirectory() are interleaved with those in caller. </policy/CMP0082> |