X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=CMakeLists.txt;h=5e234eedf126d2c95dd36ffdfefd47725c18fad2;hb=944ffe9e532a3b2be686ef28c33313148760b1c9;hp=2050e57a6ccaf3a22fce5c99385fbac1553081e3;hpb=5ca336ea9281e87d8a2de95cef337e056266838d;p=oweals%2Fminetest.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 2050e57a6..5e234eedf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -202,7 +202,11 @@ if(WIN32) # install(FILES bin/minetestserver.exe DESTINATION bin) #endif() - set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-win32") + if(CMAKE_SIZEOF_VOID_P EQUAL 8) + set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-win64") + else(CMAKE_SIZEOF_VOID_P EQUAL 8) + set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-win32") + endif(CMAKE_SIZEOF_VOID_P EQUAL 8) set(CPACK_GENERATOR ZIP)