summaryrefslogtreecommitdiff
path: root/Modules/Platform/Windows-GNU.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-12-22 15:26:30 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2010-12-23 17:04:49 -0500
commitb2f308c8f9b4ded77f0693b39c0288e3bbb00977 (patch)
tree17147169f0687131605f82690ca28ab678d2b2cb /Modules/Platform/Windows-GNU.cmake
parent8c7b19d35ee81afac57fe623217578191f4d034c (diff)
downloadcmake-b2f308c8f9b4ded77f0693b39c0288e3bbb00977.tar.gz
Add support for windows resources with mingw/msys.
Diffstat (limited to 'Modules/Platform/Windows-GNU.cmake')
-rw-r--r--Modules/Platform/Windows-GNU.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-GNU.cmake b/Modules/Platform/Windows-GNU.cmake
index ac635a50e8..7084b83bae 100644
--- a/Modules/Platform/Windows-GNU.cmake
+++ b/Modules/Platform/Windows-GNU.cmake
@@ -56,6 +56,8 @@ if("${_help}" MATCHES "GNU ld .* 2\\.1[1-6]")
set(__WINDOWS_GNU_LD_RESPONSE 0)
endif()
+enable_language(RC)
+
macro(__windows_compiler_gnu lang)
if(MSYS OR MINGW)