Toolchain.cmake 494 B

12345678910111213
  1. set(CMAKE_SYSTEM_NAME Linux)
  2. set(CMAKE_SYSTEM_VERSION 1)
  3. set(CMAKE_SYSTEM_PROCESSOR aarch64)
  4. SET(CMAKE_C_COMPILER /usr/bin/aarch64-linux-gnu-gcc)
  5. set(CMAKE_CXX_COMPILER /usr/bin/aarch64-linux-gnu-g++)
  6. SET(CMAKE_AR /usr/bin/aarch64-linux-gnu-gcc-ar)
  7. SET(CMAKE_STRIP /usr/bin/aarch64-linux-gnu-gcc-strip)
  8. SET(CMAKE_RANLIB /usr/bin/aarch64-linux-gnu-gcc-ranlib)
  9. set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
  10. set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
  11. set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)