summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergiu Deitsch <sergiu.deitsch@gmail.com>2022-03-15 18:52:56 (GMT)
committerSergiu Deitsch <sergiu.deitsch@gmail.com>2022-04-04 17:46:32 (GMT)
commit35e92ec61913d5fb30cd7ca3df2e1ad8728e7e98 (patch)
tree2dcf3fa199454fe457183c893862b44b8b9d3de8
parent84ff36506267af8ba65cffdcc1345e111b2b5af6 (diff)
downloadCMake-35e92ec61913d5fb30cd7ca3df2e1ad8728e7e98.zip
CMake-35e92ec61913d5fb30cd7ca3df2e1ad8728e7e98.tar.gz
CMake-35e92ec61913d5fb30cd7ca3df2e1ad8728e7e98.tar.bz2
FindJNI: improved description
-rw-r--r--Modules/FindJNI.cmake18
1 files changed, 9 insertions, 9 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index e4f60b3..e1e5584 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -5,7 +5,7 @@
FindJNI
-------
-Find Java Native Interface (JNI) libraries.
+Find Java Native Interface (JNI) headers and libraries.
JNI enables Java code running in a Java Virtual Machine (JVM) to call
and be called by native applications and libraries written in other
@@ -22,11 +22,11 @@ Result Variables
This module sets the following result variables:
``JNI_INCLUDE_DIRS``
- the include dirs to use
+ The include directories to use.
``JNI_LIBRARIES``
- the libraries to use (JAWT and JVM)
+ The libraries to use (JAWT and JVM).
``JNI_FOUND``
- TRUE if JNI headers and libraries were found.
+ ``TRUE`` if JNI headers and libraries were found.
Cache Variables
^^^^^^^^^^^^^^^
@@ -34,15 +34,15 @@ Cache Variables
The following cache variables are also available to set or use:
``JAVA_AWT_LIBRARY``
- the path to the Java AWT Native Interface (JAWT) library
+ The path to the Java AWT Native Interface (JAWT) library.
``JAVA_JVM_LIBRARY``
- the path to the Java Virtual Machine (JVM) library
+ The path to the Java Virtual Machine (JVM) library.
``JAVA_INCLUDE_PATH``
- the include path to jni.h
+ The include path to ``jni.h``.
``JAVA_INCLUDE_PATH2``
- the include path to jni_md.h and jniport.h
+ The include path to ``jni_md.h`` and ``jniport.h``.
``JAVA_AWT_INCLUDE_PATH``
- the include path to jawt.h
+ The include path to ``jawt.h``.
#]=======================================================================]
# Expand {libarch} occurrences to java_libarch subdirectory(-ies) and set ${_var}