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

8 lines
215 B
CMake
Raw Normal View History

2021-11-11 03:17:04 +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")