From 7016eb18c4d3511cb2dea6e52f60eac7c20e2634 Mon Sep 17 00:00:00 2001 From: Username404 Date: Sun, 15 Aug 2021 15:38:55 +0200 Subject: [PATCH] Add the target architecture as a suffix to packages in CMakeLists.txt --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c9874e..3d778c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,4 +168,5 @@ elseif(MINGW OR MSVC) set(CPACK_GENERATOR ZIP;NSIS) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon.exe DESTINATION bin) endif() +set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-${CMAKE_SYSTEM_PROCESSOR}") include(CPack) \ No newline at end of file