Revision 6fc5bc8a795f8c2c6ff8c5f3afdd0a47bf2d0d46 authored by Steven Johnson on 30 September 2020, 23:05:10 UTC, committed by GitHub on 30 September 2020, 23:05:10 UTC
Fix host_supports_target_device()
toolchain.linux-aarch64.cmake
# Toolchain for cross-compiling to Linux-aarch64 on a Linux-x86-64 host.
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
if (NOT DEFINED CMAKE_C_COMPILER)
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
endif ()
if (NOT DEFINED CMAKE_CXX_COMPILER)
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
endif ()
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...