Windows Packaging : Make package-name confirm to the windows[32/64] naming scheme...
authorlazydodo <github@lazydodo.com>
Wed, 24 Aug 2016 15:37:42 +0000 (09:37 -0600)
committerlazydodo <github@lazydodo.com>
Wed, 24 Aug 2016 15:37:42 +0000 (09:37 -0600)
build_files/cmake/packaging.cmake

index 72f10bb57050c8e067d80faf366c7a757da05572..bc1d64f7494303d68645647ead42f3d33c78f79b 100644 (file)
@@ -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)
 if (MSVC)
        if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
-               set(PACKAGE_ARCH Win64)
+               set(PACKAGE_ARCH windows64)
        else()
-               set(PACKAGE_ARCH Win32)
+               set(PACKAGE_ARCH windows32)
        endif()
 else(MSVC)
        set(PACKAGE_ARCH ${CMAKE_SYSTEM_PROCESSOR})