We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76a2bae commit 2f7d44aCopy full SHA for 2f7d44a
mk/cmake/SuperTux/BuildCPack.cmake
@@ -61,7 +61,14 @@ else()
61
set(CPACK_PACKAGE_VERSION_PATCH ${SUPERTUX_VERSION_PATCH})
62
endif()
63
64
-set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${SUPERTUX_VERSION_STRING}-${CMAKE_SYSTEM_NAME}")
+set(SUPERTUX_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}")
65
+if(CMAKE_SIZEOF_VOID_P EQUAL 8)
66
+ set(SUPERTUX_SYSTEM_NAME "win64")
67
+else()
68
+ set(SUPERTUX_SYSTEM_NAME "win32")
69
+endif()
70
+
71
+set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${SUPERTUX_VERSION_STRING}-${SUPERTUX_SYSTEM_NAME}")
72
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${SUPERTUX_VERSION_STRING}-Source")
73
set(CPACK_PACKAGE_INSTALL_DIRECTORY "SuperTux")
74
set(CPACK_PACKAGE_EXECUTABLES "supertux2" "SuperTux")
0 commit comments