On Mac 64-bit OS X, with a 64-bit NDK, if ANDROID_NDK_HOST_X64 is not set explicitly, cmake fails on line 702. The reason is that CMAKE_HOST_SYSTEM_PROCESSOR=i386.
It could be enough to add a Mac section to the instructions, but I see no risk in looking for "darwin-x86_64" and "darwin-x86" even if the script cannot detect the 64-bit host.
On Mac 64-bit OS X, with a 64-bit NDK, if
ANDROID_NDK_HOST_X64
is not set explicitly, cmake fails on line 702. The reason is thatCMAKE_HOST_SYSTEM_PROCESSOR=i386
.It could be enough to add a Mac section to the instructions, but I see no risk in looking for
"darwin-x86_64"
and"darwin-x86"
even if the script cannot detect the 64-bit host.