summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/CYGWIN-GNU.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-12-23 20:53:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-12-23 22:04:50 (GMT)
commit060d6e885e5a8c2828f97a1164ed01119dbe9244 (patch)
tree826b9cdf28d3694d6eca68850f92a3b7c911a75a /Modules/Platform/CYGWIN-GNU.cmake
parentb2f308c8f9b4ded77f0693b39c0288e3bbb00977 (diff)
downloadCMake-060d6e885e5a8c2828f97a1164ed01119dbe9244.zip
CMake-060d6e885e5a8c2828f97a1164ed01119dbe9244.tar.gz
CMake-060d6e885e5a8c2828f97a1164ed01119dbe9244.tar.bz2
Add support for windres to cygwin.
Diffstat (limited to 'Modules/Platform/CYGWIN-GNU.cmake')
-rw-r--r--Modules/Platform/CYGWIN-GNU.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/CYGWIN-GNU.cmake b/Modules/Platform/CYGWIN-GNU.cmake
index 6f72a75..5aad45b 100644
--- a/Modules/Platform/CYGWIN-GNU.cmake
+++ b/Modules/Platform/CYGWIN-GNU.cmake
@@ -24,7 +24,8 @@ set(CMAKE_CREATE_WIN32_EXE "-mwindows")
set(CMAKE_GNULD_IMAGE_VERSION
"-Wl,--major-image-version,<TARGET_VERSION_MAJOR>,--minor-image-version,<TARGET_VERSION_MINOR>")
-
+set(CMAKE_GENERATOR_RC windres)
+enable_language(RC)
macro(__cygwin_compiler_gnu lang)
# Binary link rules.
set(CMAKE_${lang}_CREATE_SHARED_MODULE