Files
CMake/Source
Brad King add64399c5 target_link_libraries: Restore LINK_ONLY for multiple static lib dependencies
Since commit c1e812ad4f (target_link_libraries: Improve tolerance of
unquoted generator expressions, 2022-02-15, v3.23.0-rc2~11^2) we
accumulate consecutive non-keyword arguments to recover an unquoted
generator expression as a single entry.  When given multiple consecutive
non-genex library names, the grouping breaks our logic that expects each
entry is either a raw target name or a genex.  Revise the logic to only
accumulate multiple arguments when they end inside a partial genex.

This bug caused `target_link_libraries` to stop wrapping static library
private dependencies in `$<LINK_ONLY:...>` for `INTERFACE_LINK_LIBRARIES`
when multiple consecutive library names are given.  Add a test case
covering that behavior.

Fixes: #23302
2022-03-16 10:47:32 -04:00
..
2022-01-21 10:59:13 -05:00
2022-03-10 09:11:13 -05:00
2021-09-09 14:02:52 -04:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-10-27 09:24:54 -04:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00