summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMatej Hribernik <matej.hribernik@comtrade.com>2011-06-19 18:42:42 (GMT)
committerBrad King <brad.king@kitware.com>2011-06-20 12:31:13 (GMT)
commitaed92ccea6321d0323a84d9001c489ef5d05d350 (patch)
tree652208a392c561de4811f1dad357638fd71d5f38 /Modules
parentd44c68f39e5b46324898ce4ad0b12c63095b1b40 (diff)
downloadCMake-aed92ccea6321d0323a84d9001c489ef5d05d350.zip
CMake-aed92ccea6321d0323a84d9001c489ef5d05d350.tar.gz
CMake-aed92ccea6321d0323a84d9001c489ef5d05d350.tar.bz2
Add VisualStudio 9 and 10 generators for Itanium platform
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeGenericSystem.cmake2
-rw-r--r--Modules/Platform/Windows-cl.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake
index 6615849..6cd8fe6 100644
--- a/Modules/CMakeGenericSystem.cmake
+++ b/Modules/CMakeGenericSystem.cmake
@@ -73,7 +73,7 @@ function(GetDefaultWindowsPrefixBase var)
# the architecture of the targets being built to choose the right
# default value for CMAKE_INSTALL_PREFIX.
#
- if("${CMAKE_GENERATOR}" MATCHES "Win64")
+ if("${CMAKE_GENERATOR}" MATCHES "(Win64|IA64)")
set(arch_hint "x64")
elseif("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
set(arch_hint "x64")
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake
index 56582ff..ccccbc9 100644
--- a/Modules/Platform/Windows-cl.cmake
+++ b/Modules/Platform/Windows-cl.cmake
@@ -132,9 +132,9 @@ IF(MSVC_C_ARCHITECTURE_ID MATCHES 64)
ELSE(MSVC_C_ARCHITECTURE_ID MATCHES 64)
SET(CMAKE_CL_64 0)
ENDIF(MSVC_C_ARCHITECTURE_ID MATCHES 64)
-IF(CMAKE_FORCE_WIN64)
+IF(CMAKE_FORCE_WIN64 OR CMAKE_FORCE_IA64)
SET(CMAKE_CL_64 1)
-ENDIF(CMAKE_FORCE_WIN64)
+ENDIF(CMAKE_FORCE_WIN64 OR CMAKE_FORCE_IA64)
IF("${MSVC_VERSION}" GREATER 1599)
SET(MSVC_INCREMENTAL_DEFAULT ON)