| commit | b47092fddb51e2e89fa083af5c15fb6b81f35186 | [log] [tgz] |
|---|---|---|
| author | Brad King <brad.king@kitware.com> | Mon Nov 28 17:25:53 2022 -0500 |
| committer | Brad King <brad.king@kitware.com> | Mon Nov 28 19:09:04 2022 -0500 |
| tree | e5902903bcb178caffd885abf8b0525ee50c6663 | |
| parent | daa2fc5833ea8b50191b2dd0970703db17da3abf [diff] |
MinGW: Fix regression when windres is not found The fix in commit e9755bc7c1 (MinGW: Restore using windres when toolchain-prefixed name is not available, 2022-08-15, v3.24.1~4^2) incorrectly listed two entries in `CMAKE_RC_COMPILER_INIT`, which is only meant to have one value. Revise the logic to support multiple platform-specific names for the Windows Resource Compiler while still only using one name as the fallback when it is not found. Fixes: #24190 Issue: #23841