summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-04 20:43:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-04 20:43:53 (GMT)
commitda9b5fe4b521bbb9d873cfa3ebc9c67c0d6b66bf (patch)
treed74d5a463c6c175368ad413beade2781e85ec65b
parentc59ed2955294d6b8fe25926c95711f794284354f (diff)
parent90b0f2c624e0df635abe551825befa729c2aa072 (diff)
downloadCMake-da9b5fe4b521bbb9d873cfa3ebc9c67c0d6b66bf.zip
CMake-da9b5fe4b521bbb9d873cfa3ebc9c67c0d6b66bf.tar.gz
CMake-da9b5fe4b521bbb9d873cfa3ebc9c67c0d6b66bf.tar.bz2
Merge topic 'add_resource_support_to_intel'
90b0f2c Enable resource building with the intel compiler on windows.
-rw-r--r--Modules/Platform/Windows-Intel.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-Intel.cmake b/Modules/Platform/Windows-Intel.cmake
index 444a60e..e7462ba 100644
--- a/Modules/Platform/Windows-Intel.cmake
+++ b/Modules/Platform/Windows-Intel.cmake
@@ -18,6 +18,10 @@ if(__WINDOWS_INTEL)
endif()
set(__WINDOWS_INTEL 1)
+# make sure to enable languages after setting configuration types
+ENABLE_LANGUAGE(RC)
+SET(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
+
SET(CMAKE_LIBRARY_PATH_FLAG "-LIBPATH:")
SET(CMAKE_LINK_LIBRARY_FLAG "")
SET(WIN32 1)