diff --git a/CMakeLists.txt b/CMakeLists.txt index b0c499b91..204598f98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1112,6 +1112,9 @@ set(CPACK_GENERATOR "TGZ;ZIP") if(APPLE) string(TOLOWER "${CMAKE_PROJECT_NAME}-macos-universal" CPACK_PACKAGE_FILE_NAME) else() # We don't use this in Windows + if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + set(CMAKE_SYSTEM_PROCESSOR "amd64") + endif() string(TOLOWER "${CMAKE_PROJECT_NAME}-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}" CPACK_PACKAGE_FILE_NAME) endif()