• Brad King's avatar
    CMakeRCInformation: Recognize 'windres' tools with '.' in name (#14865) · 7147ed5c
    Brad King authored
    A 64-bit MinGW windres is named "i686-w64-mingw32.shared-windres".  The
    get_filename_component NAME_WE mode may strip the ".shared-windres" part
    and cause the result to no longer contain "windres".  Instead, match the
    "windres" name in the full CMAKE_RC_COMPILER value first, and use the
    get_filename_component code path only for other resource compilers.