LINK_WARNING_AS_ERROR property: extend capabilities

Fixes: #26536
13 files changed