decommission ANDROID_HOME in build scripts, fixes #257

This commit is contained in:
Taner Sener 2021-11-30 11:23:35 +00:00
parent 48533712d9
commit e9e397f3d5

View File

@ -954,7 +954,7 @@ get_aar_directory() {
}
android_ndk_cmake() {
local cmake=$(find "${ANDROID_HOME}"/cmake -path \*/bin/cmake -type f -print -quit)
local cmake=$(find "${ANDROID_SDK_ROOT}"/cmake -path \*/bin/cmake -type f -print -quit)
if [[ -z ${cmake} ]]; then
cmake=$(which cmake)
fi