Skip to content

Protect implicit link library extraction with policy CMP0054

Brad King requested to merge brad.king/cmake:implicit-link-CMP0054 into master

CMakeParseImplicitLinkInfo tests arbitrary content with if(MATCHES). Set policy CMP0054 to ensure the line content is never interpreted as a variable reference (which may also produce a CMP0054 warning).

While at it, also set policy CMP0053 to improve performance.

Merge request reports