summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindJNI.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index eb6523b..8f6f134 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -9,7 +9,7 @@
#
FIND_LIBRARY(JAVA_AWT_LIBRARY jawt
- PATHS /usr/lib /usr/local/lib
+ PATHS /usr/lib /usr/local/lib /usr/lib/java/jre/lib/i386
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib"
)
@@ -17,6 +17,7 @@ FIND_LIBRARY(JAVA_AWT_LIBRARY jawt
FIND_PATH(JAVA_INCLUDE_PATH jni.h
/usr/include
/usr/local/include
+ /usr/lib/java/include
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include"
)