amiberry/cmake/Toolchain-arm-linux-gnueabihf.cmake
Dimitris Panokostas d0056f77cd
Merge Preview v6.x to master
V5 now lives in a separate repo: https://github.com/BlitterStudio/amiberry-lite
2024-09-23 19:42:29 +02:00

6 lines
230 B
CMake

set(CMAKE_SYSTEM_NAME Linux)
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 armhf)