Merge pull request #260 from tanersener/issue-257

decommission ANDROID_HOME in build scripts, fixes #257
This commit is contained in:
Taner Şener 2021-11-30 17:17:02 +00:00 committed by GitHub
commit 458c05db31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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