summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-12 15:03:51 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-12 15:03:51 (GMT)
commit4b176d7f45bc436caccfd582d98c0bf0123a6bb2 (patch)
tree7a7206b0427b529416d16b3204aca5c15d5b673e
parent58d0d056c4029da6858d542c94bcadf7c39b8e30 (diff)
downloadCMake-4b176d7f45bc436caccfd582d98c0bf0123a6bb2.zip
CMake-4b176d7f45bc436caccfd582d98c0bf0123a6bb2.tar.gz
CMake-4b176d7f45bc436caccfd582d98c0bf0123a6bb2.tar.bz2
ENH: add the processor to the system name for cpack
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d3e02c1..333d8fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -247,13 +247,13 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME
"cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}")
IF(NOT DEFINED CPACK_SYSTEM_NAME)
- SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
+ SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR})
ENDIF(NOT DEFINED CPACK_SYSTEM_NAME)
IF(${CPACK_SYSTEM_NAME} MATCHES Windows)
IF(CMAKE_CL_64)
- SET(CPACK_SYSTEM_NAME win64)
+ SET(CPACK_SYSTEM_NAME win64-${CMAKE_SYSTEM_PROCESSOR})
ELSE(CMAKE_CL_64)
- SET(CPACK_SYSTEM_NAME win32)
+ SET(CPACK_SYSTEM_NAME win32-${CMAKE_SYSTEM_PROCESSOR})
ENDIF(CMAKE_CL_64)
ENDIF(${CPACK_SYSTEM_NAME} MATCHES Windows)
IF(NOT DEFINED CPACK_PACKAGE_FILE_NAME)