mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
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