From 1b7c265595d82a4c05f963792f7645352a3d4a3b Mon Sep 17 00:00:00 2001 From: Denis Biryukov Date: Wed, 30 Oct 2024 15:35:59 +0100 Subject: [PATCH] fix package file name --- install/CMakeLists.txt | 1 + install/cpack_project_config.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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, ")