diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-12 15:03:51 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-12 15:03:51 (GMT) |
commit | 4b176d7f45bc436caccfd582d98c0bf0123a6bb2 (patch) | |
tree | 7a7206b0427b529416d16b3204aca5c15d5b673e | |
parent | 58d0d056c4029da6858d542c94bcadf7c39b8e30 (diff) | |
download | CMake-4b176d7f45bc436caccfd582d98c0bf0123a6bb2.zip CMake-4b176d7f45bc436caccfd582d98c0bf0123a6bb2.tar.gz CMake-4b176d7f45bc436caccfd582d98c0bf0123a6bb2.tar.bz2 |
ENH: add the processor to the system name for cpack
-rw-r--r-- | CMakeLists.txt | 6 |
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) |