summaryrefslogtreecommitdiff
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-17 13:43:21 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-17 13:43:21 -0400
commitf844304465c0c8aeb900480e2d7178b5f576261e (patch)
treef3cc7f2f6ad332347952ae0cf2488f22a216595f /Modules/FindJNI.cmake
parent5458a0b50aa6bb701e6fe089c2706b4e034e4e1d (diff)
downloadcmake-f844304465c0c8aeb900480e2d7178b5f576261e.tar.gz
Add debian Java paths
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index eb6523b4a0..8f6f134a78 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"
)