mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
7147ed5ce4
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.
1.9 KiB
1.9 KiB