diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2011-01-03 19:02:22 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2011-01-03 19:02:22 (GMT) |
commit | 90b0f2c624e0df635abe551825befa729c2aa072 (patch) | |
tree | ea18bba26d2dd8355a23abc96b358e834b9a07fe /Modules/Platform/Windows-Intel.cmake | |
parent | a67fd7265978a3d8e0565671da651ddfdc6b6e98 (diff) | |
download | CMake-90b0f2c624e0df635abe551825befa729c2aa072.zip CMake-90b0f2c624e0df635abe551825befa729c2aa072.tar.gz CMake-90b0f2c624e0df635abe551825befa729c2aa072.tar.bz2 |
Enable resource building with the intel compiler on windows.
Diffstat (limited to 'Modules/Platform/Windows-Intel.cmake')
-rw-r--r-- | Modules/Platform/Windows-Intel.cmake | 4 |
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) |