• Brad King's avatar
    Protect implicit link library extraction with policy CMP0054 · a353d10a
    Brad King authored
    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.
CMakeParseImplicitLinkInfo.cmake 8.05 KB