From 8a44477a5ee692dc2ab05c59c21e1715a60267d4 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 23 Sep 2021 21:37:22 +0100 Subject: [PATCH] added deb_architecture --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d48e1b..327d71e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ elseif( TARGET_ARCH STREQUAL "armhf" ) message("Building for armhf") set(CMAKE_C_COMPILER /usr/bin/arm-linux-gnueabihf-gcc-8) set(CMAKE_CXX_COMPILER /usr/bin/arm-linux-gnueabihf-g++-8) + set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf") else() message("Unknown target architecture. Exiting") return()