1 # CMake toolchain file, cf. README.android
2 SET(CMAKE_SYSTEM_NAME Linux) # Tell CMake we're cross-compiling
3 include(CMakeForceCompiler)
4 # Prefix detection only works with compiler id "GNU"
5 CMAKE_FORCE_C_COMPILER(arm-linux-androideabi-gcc GNU)