mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Can't use 64BIT test here, use CMAKE_SIZEOF_VOID_P instead.
This commit is contained in:
parent
b72c99a157
commit
79c56a01a1
1 changed files with 1 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue