From d98cafb6844ad18717dcf9d4ad875b67e59f7df1 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Wed, 19 Dec 2001 21:51:39 -0500 Subject: [PATCH] ENH: Make everything ADVANCED --- Modules/FindJNI.cmake | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 26be004dd..eb6523b4a 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -7,7 +7,7 @@ # JAVA_INCLUDE_PATH = the path to where jni.h can be found # JAVA_AWT_INCLUDE_PATH = the path to where jni.h can be found # - + FIND_LIBRARY(JAVA_AWT_LIBRARY jawt PATHS /usr/lib /usr/local/lib "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib" @@ -26,3 +26,10 @@ FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h ) FIND_PATH(JAVA_AWT_INCLUDE_PATH jawt.h ${JAVA_INCLUDE_PATH} ) + +MARK_AS_ADVANCED( + JAVA_AWT_LIBRARY + JAVA_AWT_INCLUDE_PATH + JAVA_INCLUDE_PATH + JAVA_INCLUDE_PATH2 +)