This commit is contained in:
Andrea Cavalli 2023-05-08 11:23:47 +02:00
parent 8ef8b2124c
commit 0eecc12a43

View File

@ -1,8 +1,8 @@
SET(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
set(triple aarch64-linux-gnu)
set(CMAKE_SYSROOT /usr/aarch64-linux-gnu)
set(CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu /usr/lib/llvm-10/include)
set(CMAKE_SYSROOT /usr/lib/aarch64-linux-gnu)
set(CMAKE_FIND_ROOT_PATH /usr/lib/aarch64-linux-gnu /usr/lib/llvm-10/include)
set(CMAKE_C_COMPILER /usr/bin/clang-10)
set(CMAKE_C_COMPILER_TARGET ${triple})