added deb_architecture

pull/12/head
matt 2021-09-23 21:37:22 +01:00
parent a4ac448289
commit 8a44477a5e
No known key found for this signature in database
GPG Key ID: 089C8B076569DD58
1 changed files with 1 additions and 0 deletions

View File

@ -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()