diff --git a/install/CMakeLists.txt b/install/CMakeLists.txt index 0f4c36c04..98419b312 100644 --- a/install/CMakeLists.txt +++ b/install/CMakeLists.txt @@ -107,6 +107,7 @@ set(CPACK_COMPONENT_HEADERS_DEPENDS lib) set(CPACK_COMPONENT_DEV_DEPENDS lib) set(CPACK_GENERATOR ZIP) +set(CPACK_CMAKE_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) if(NOT CPACK_PACKAGE_VERSION) set(SEM_VER "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") diff --git a/install/cpack_project_config.cmake b/install/cpack_project_config.cmake index 12797eb03..70bf7b9a1 100644 --- a/install/cpack_project_config.cmake +++ b/install/cpack_project_config.cmake @@ -1,4 +1,4 @@ -set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CMAKE_SYSTEM_PROCESSOR}") +set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_CMAKE_SYSTEM_PROCESSOR}") if(CPACK_GENERATOR MATCHES "DEB") # DEB package set(CPACK_DEBIAN_PACKAGE_MAINTAINER "ZettaScale Zenoh Team, ")