Commit c1cec6d1 authored by Jonathan Perkin's avatar Jonathan Perkin

Can't use 64BIT test here, use CMAKE_SIZEOF_VOID_P instead.

parent f342706c
...@@ -3,8 +3,7 @@ IF(ESSENTIALS) ...@@ -3,8 +3,7 @@ IF(ESSENTIALS)
MESSAGE("Essentials!") MESSAGE("Essentials!")
SET(CPACK_COMPONENTS_USED "Server;Client;DataFiles") SET(CPACK_COMPONENTS_USED "Server;Client;DataFiles")
SET(CPACK_WIX_UI "WixUI_InstallDir") SET(CPACK_WIX_UI "WixUI_InstallDir")
MATH(EXPR bits ${CMAKE_SIZEOF_VOID_P}*8) IF(CMAKE_SIZEOF_VOID_P MATCHES 8)
IF(64BIT)
SET(CPACK_PACKAGE_FILE_NAME "mysql-essential-${VERSION}-winx64") SET(CPACK_PACKAGE_FILE_NAME "mysql-essential-${VERSION}-winx64")
ELSE() ELSE()
SET(CPACK_PACKAGE_FILE_NAME "mysql-essential-${VERSION}-win32") SET(CPACK_PACKAGE_FILE_NAME "mysql-essential-${VERSION}-win32")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment