set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR aarch64) SET(CMAKE_C_COMPILER /usr/bin/aarch64-linux-gnu-gcc) set(CMAKE_CXX_COMPILER /usr/bin/aarch64-linux-gnu-g++) SET(CMAKE_AR /usr/bin/aarch64-linux-gnu-gcc-ar) SET(CMAKE_STRIP /usr/bin/aarch64-linux-gnu-gcc-strip) SET(CMAKE_RANLIB /usr/bin/aarch64-linux-gnu-gcc-ranlib) set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)