Skip to content

Commit 0b3ccf5

Browse files
committed
Added aarch64 toolchain configuration file
1 parent 93076a1 commit 0b3ccf5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

aarch64.cmake

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cmake_minimum_required(VERSION 3.3)
2+
set(CMAKE_SYSTEM_NAME Linux)
3+
set(CMAKE_SYSTEM_PROCESSOR aarch64)
4+
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
5+
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
6+
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
7+
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
8+
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
9+
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

0 commit comments

Comments
 (0)