lokinet/contrib/cross/android.toolchain.cmake
2018-11-06 09:06:09 -05:00

6 lines
212 B
CMake

set(CMAKE_SYSTEM_NAME Android)
set(CMAKE_SYSTEM_VERSION ${ANDROID_API}) # API level
set(CMAKE_ANDROID_ARCH_ABI ${ANDROID_ARCH_ABI})
set(CMAKE_ANDROID_NDK ${ANDROID_NDK})
set(CMAKE_ANDROID_STL_TYPE gnustl_static)