FindJNI
Нахождение библиотек JNI Java.
Этот модуль определяет, установлена ли Java, и определяет расположение файлов заголовков и библиотек. Он также определяет имя библиотеки. Вызывающий код может установить переменную JAVA_HOME, чтобы явно указать префикс установки Java.
Этот модуль устанавливает следующие переменные результата:
JNI_INCLUDE_DIRS = the include dirs to use JNI_LIBRARIES = the libraries to use JNI_FOUND = TRUE if JNI headers and libraries were found. JAVA_AWT_LIBRARY = the path to the jawt library JAVA_JVM_LIBRARY = the path to the jvm library JAVA_INCLUDE_PATH = the include path to jni.h JAVA_INCLUDE_PATH2 = the include path to jni_md.h JAVA_AWT_INCLUDE_PATH = the include path to jawt.h
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.7/module/FindJNI.html