From 5850b8117a4da7100d2e9e5c993a1f69e27ee72c Mon Sep 17 00:00:00 2001 From: Luca Cominardi Date: Thu, 25 Jul 2024 12:15:51 +0200 Subject: [PATCH] Revert "fix: use debian compatible arch (#161)" This reverts commit d40b5ffbaaf5092d3cc77c33defaf6c544dfec37. --- install/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install/CMakeLists.txt b/install/CMakeLists.txt index be4b347c..7a617836 100644 --- a/install/CMakeLists.txt +++ b/install/CMakeLists.txt @@ -62,11 +62,7 @@ set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") if(UNIX) # DEB package if(NOT DEBARCH) - execute_process( - COMMAND dpkg --print-architecture - OUTPUT_VARIABLE DEBARCH - OUTPUT_STRIP_TRAILING_WHITESPACE - ) + set(DEBARCH ${CMAKE_SYSTEM_PROCESSOR}) endif() message(STATUS "Configure DEB packaging for Linux ${DEBARCH}") list(APPEND CPACK_GENERATOR DEB)