56742b2bbd
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1237 7f0cb862-5218-0410-a997-914c9d46530a
7 lines
261 B
CMake
7 lines
261 B
CMake
# CMake toolchain file, cf. README.android
|
|
SET(CMAKE_SYSTEM_NAME Linux) # Tell CMake we're cross-compiling
|
|
include(CMakeForceCompiler)
|
|
# Prefix detection only works with compiler id "GNU"
|
|
CMAKE_FORCE_C_COMPILER(arm-linux-androideabi-gcc GNU)
|
|
SET(ANDROID TRUE)
|