From 10a7459a228f2968681d064486d49942f6d5ecc3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 5 Jul 2016 14:17:06 -0400 Subject: [PATCH] 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. --- Modules/FindJava.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake index c643d9b5b0..424ae30c56 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__FOUND - TRUE if is found. # #