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

9 lines
271 B
CMake
Raw Normal View History

2021-09-17 02:00:40 +00:00
# Compile For x86_64
2021-10-29 02:57:47 +00:00
include("${CMAKE_CURRENT_LIST_DIR}/base-toolchain.cmake")
if(NOT HOST_ARCHITECTURE STREQUAL "x86_64")
2021-09-17 02:00:40 +00:00
# Use x86_64 Cross-Compiler
setup_toolchain("x86_64-linux-gnu")
endif()
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")