1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-17 01:59:28 +08:00
Files
Alas/blcrack/platform/android.toolchain.cmake
2025-03-19 15:57:51 +08:00

9 lines
401 B
CMake

if (NOT DEFINED ENV{NDK_ROOT})
message(FATAL_ERROR "NDK_ROOT is not defined. Please set it to the root directory of your Android NDK.")
endif ()
message(STATUS "Using Android NDK: $ENV{NDK_ROOT}")
if (NOT DEFINED ANDROID_ABI)
message("ANDROID_ABI is not defined. Defaulting to x86")
set(ANDROID_ABI x86)
endif ()
set(CMAKE_TOOLCHAIN_FILE $ENV{NDK_ROOT}/build/cmake/android.toolchain.cmake)