Windows Packaging : Make package-name confirm to the windows[32/64] naming scheme we use.

This commit is contained in:
lazydodo 2016-08-24 09:37:42 -06:00
parent 438bcc6d28
commit bfc5a94292

@ -40,9 +40,9 @@ execute_process(COMMAND date "+%Y%m%d" OUTPUT_VARIABLE CPACK_DATE OUTPUT_STRIP_T
string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER) string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER)
if (MSVC) if (MSVC)
if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
set(PACKAGE_ARCH Win64) set(PACKAGE_ARCH windows64)
else() else()
set(PACKAGE_ARCH Win32) set(PACKAGE_ARCH windows32)
endif() endif()
else(MSVC) else(MSVC)
set(PACKAGE_ARCH ${CMAKE_SYSTEM_PROCESSOR}) set(PACKAGE_ARCH ${CMAKE_SYSTEM_PROCESSOR})