FindJNI does not work with Android NDK
Android NDK provides only jni.h
but not other libraries and headers currently always required by FindJNI.cmake
. A workaround is to set every cache variable except JAVA_INCLUDE_PATH
to an arbitrary string.