Skip to content

Commit

Permalink
Fix incorrect architecture names in cross-compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Sep 20, 2024
1 parent a093133 commit 293b98a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmake/Toolchain-aarch64-linux-gnu.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
set(CMAKE_CROSSCOMPILING TRUE)

set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE arm64)
6 changes: 3 additions & 3 deletions cmake/Toolchain-arm-linux-gnueabihf.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
SET(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
set(CMAKE_SYSTEM_PROCESSOR arm)
set(CMAKE_CROSSCOMPILING TRUE)

set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE arm)

0 comments on commit 293b98a

Please sign in to comment.