summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-GNU.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-25 11:14:42 (GMT)
committerBrad King <brad.king@kitware.com>2020-03-25 11:21:01 (GMT)
commit0251ddadab687dc3ad62c39381201fcd1f7c534f (patch)
tree8a648fd06f5ed7c13a712d8d23e2ece740d2ddbf /Modules/Platform/Windows-GNU.cmake
parentc98ec3692ea2a98edb6c7c26ffc2e0d12863df99 (diff)
downloadCMake-0251ddadab687dc3ad62c39381201fcd1f7c534f.zip
CMake-0251ddadab687dc3ad62c39381201fcd1f7c534f.tar.gz
CMake-0251ddadab687dc3ad62c39381201fcd1f7c534f.tar.bz2
MinGW: Drop unnecessary windres selection code with Unix Makefiles
Since commit 957c2aac7f (RC: Simplify selection of resource compiler based on C/C++ toolchain, 2015-05-07, v3.3.0-rc1~93^2~5) we select windres as the RC compiler on MinGW via `CMAKE_RC_COMPILER_INIT`. Drop the special case from commit be9afbf453 (Find mingw's windres also when Unix Makefiles are used, 2012-08-27, v2.8.10~152^2).
Diffstat (limited to 'Modules/Platform/Windows-GNU.cmake')
-rw-r--r--Modules/Platform/Windows-GNU.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index 38a8cf4..00c1eb2 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -47,10 +47,6 @@ if("${_help}" MATCHES "GNU ld .* 2\\.1[1-6]")
set(__WINDOWS_GNU_LD_RESPONSE 0)
endif()
-if(NOT CMAKE_GENERATOR_RC AND CMAKE_GENERATOR MATCHES "Unix Makefiles")
- set(CMAKE_GENERATOR_RC windres)
-endif()
-
macro(__windows_compiler_gnu lang)
if(MSYS OR MINGW)