Merge topic 'add_resource_support_to_intel'

90b0f2c Enable resource building with the intel compiler on windows.
This commit is contained in:
Brad King 2011-01-04 15:43:53 -05:00 committed by CMake Topic Stage
commit da9b5fe4b5
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ if(__WINDOWS_INTEL)
endif() endif()
set(__WINDOWS_INTEL 1) 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_LIBRARY_PATH_FLAG "-LIBPATH:")
SET(CMAKE_LINK_LIBRARY_FLAG "") SET(CMAKE_LINK_LIBRARY_FLAG "")
SET(WIN32 1) SET(WIN32 1)