summaryrefslogtreecommitdiffstats
path: root/Modules/FindJava.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-05 18:17:06 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-05 18:18:21 (GMT)
commit10a7459a228f2968681d064486d49942f6d5ecc3 (patch)
tree2d82957fb89eddccca464859fb2e02b3d82414b7 /Modules/FindJava.cmake
parent909048e5342fa6369ae26470ee0ce82e2a62abfb (diff)
downloadCMake-10a7459a228f2968681d064486d49942f6d5ecc3.zip
CMake-10a7459a228f2968681d064486d49942f6d5ecc3.tar.gz
CMake-10a7459a228f2968681d064486d49942f6d5ecc3.tar.bz2
FindJava: Do not document variables we do not provide
Drop Java_INCLUDE_DIRS and Java_LIBRARIES from the documentation since we do not provide them. Also add a link to FindJNI to help users find it. Fixes #16180.
Diffstat (limited to 'Modules/FindJava.cmake')
-rw-r--r--Modules/FindJava.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index c643d9b..424ae30 100644
--- a/Modules/FindJava.cmake
+++ b/Modules/FindJava.cmake
@@ -8,6 +8,7 @@
# include files and libraries are. The caller may set variable JAVA_HOME
# to specify a Java installation prefix explicitly.
#
+# See also the :module:`FindJNI` module to find Java development tools.
#
# Specify one or more of the following components as you call this find module. See example below.
#
@@ -54,8 +55,6 @@
# ::
#
# Java_FOUND - TRUE if all components are found.
-# Java_INCLUDE_DIRS - Full paths to all include dirs.
-# Java_LIBRARIES - Full paths to all libraries.
# Java_<component>_FOUND - TRUE if <component> is found.
#
#