summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-16 16:43:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-08-16 16:43:53 (GMT)
commit90607d182cfa10fee86610ad50f799cfea8ce504 (patch)
tree5d3cb3946b75df7e32d9f5a3d5a48be36fff482b /Modules
parent5a3a529b2e2f0246f3ada3aa9151c4dfc60e66cb (diff)
parente9755bc7c1b6e5fd2556e308e4e9f94be2bd698d (diff)
downloadCMake-90607d182cfa10fee86610ad50f799cfea8ce504.zip
CMake-90607d182cfa10fee86610ad50f799cfea8ce504.tar.gz
CMake-90607d182cfa10fee86610ad50f799cfea8ce504.tar.bz2
Merge topic 'mingw-windres'
e9755bc7c1 MinGW: Restore using windres when toolchain-prefixed name is not available Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7574
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index b464169..bf96e63 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -157,7 +157,7 @@ macro(__windows_compiler_gnu lang)
endif()
if(NOT CMAKE_RC_COMPILER_INIT AND NOT CMAKE_GENERATOR_RC)
- set(CMAKE_RC_COMPILER_INIT ${_CMAKE_TOOLCHAIN_PREFIX}windres)
+ set(CMAKE_RC_COMPILER_INIT ${_CMAKE_TOOLCHAIN_PREFIX}windres windres)
endif()
enable_language(RC)