1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 13:29:25 +08:00
Files
Alas/blcrack/platform/android.toolchain.cmake
2025-05-08 19:49:22 +08:00

9 lines
390 B
CMake

if (NOT DEFINED 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: ${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 ${NDK_ROOT}/build/cmake/android.toolchain.cmake)