summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-17 17:43:21 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-17 17:43:21 (GMT)
commitf844304465c0c8aeb900480e2d7178b5f576261e (patch)
treef3cc7f2f6ad332347952ae0cf2488f22a216595f /Modules
parent5458a0b50aa6bb701e6fe089c2706b4e034e4e1d (diff)
downloadCMake-f844304465c0c8aeb900480e2d7178b5f576261e.zip
CMake-f844304465c0c8aeb900480e2d7178b5f576261e.tar.gz
CMake-f844304465c0c8aeb900480e2d7178b5f576261e.tar.bz2
Add debian Java paths
Diffstat (limited to 'Modules')
-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"
)