From d327d9059c8cf89113695d3ad1aaf50e7d56745b Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 5 Oct 2021 21:20:41 +0100 Subject: [PATCH] fix #21 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3420358..86de9bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,14 +2,14 @@ cmake_minimum_required(VERSION 3.5.1) if( TARGET_ARCH STREQUAL "amd64" ) message("Building for amd64") + set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") 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() + message("Target Architecture not specified, not cross compiling") endif() set (aasdk_VERSION_MAJOR 3)