view mupdf-source/thirdparty/freeglut/android_toolchain.cmake @ 19:c3ef899c5e56

Rename the "build" target to "wheel"
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 18 Sep 2025 22:03:34 +0200
parents b50eed0cc0ef
children
line wrap: on
line source

# 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)