Add the target architecture as a suffix to packages in CMakeLists.txt

This commit is contained in:
Username404 2021-08-15 15:38:55 +02:00
parent 1f5c0b1b7a
commit 7016eb18c4
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

View File

@ -168,4 +168,5 @@ elseif(MINGW OR MSVC)
set(CPACK_GENERATOR ZIP;NSIS) set(CPACK_GENERATOR ZIP;NSIS)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon.exe DESTINATION bin) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon.exe DESTINATION bin)
endif() endif()
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
include(CPack) include(CPack)