minecraft-pi-reborn/cmake/armhf-toolchain.cmake

8 lines
215 B
CMake
Raw Normal View History

2021-11-12 16:05:09 +00:00
# Compile For ARM
include("${CMAKE_CURRENT_LIST_DIR}/base-toolchain.cmake")
# Use ARM Cross-Compiler
setup_toolchain("arm-linux-gnueabihf")
# Details
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_PROCESSOR "arm")