diff options
author | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-07-01 14:54:39 +0100 |
---|---|---|
committer | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-07-01 14:54:39 +0100 |
commit | 79c56a01a1f54b986b62462e2458a694a0a5b0af (patch) | |
tree | 00c9f830e18125f7e360f532e416bf47be09d4aa /packaging | |
parent | b72c99a157f0f87d78722be33d5072b03e01846d (diff) | |
download | mariadb-git-79c56a01a1f54b986b62462e2458a694a0a5b0af.tar.gz |
Can't use 64BIT test here, use CMAKE_SIZEOF_VOID_P instead.
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/WiX/CPackWixConfig.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/WiX/CPackWixConfig.cmake b/packaging/WiX/CPackWixConfig.cmake index 098eb0bb040..b1dfe76fdea 100644 --- a/packaging/WiX/CPackWixConfig.cmake +++ b/packaging/WiX/CPackWixConfig.cmake @@ -3,8 +3,7 @@ IF(ESSENTIALS) MESSAGE("Essentials!")
SET(CPACK_COMPONENTS_USED "Server;Client;DataFiles")
SET(CPACK_WIX_UI "WixUI_InstallDir")
- MATH(EXPR bits ${CMAKE_SIZEOF_VOID_P}*8)
- IF(64BIT)
+ IF(CMAKE_SIZEOF_VOID_P MATCHES 8)
SET(CPACK_PACKAGE_FILE_NAME "mysql-essential-${VERSION}-winx64")
ELSE()
SET(CPACK_PACKAGE_FILE_NAME "mysql-essential-${VERSION}-win32")
|