summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-07 17:46:02 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-07 17:46:02 (GMT)
commit76f905002617dd534df04f1c1c0842d59f50f531 (patch)
treeddfb26a19fe535d2e17e22bd8fe8ca0c084e6b92 /Modules/FindJNI.cmake
parentfadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (diff)
downloadCMake-76f905002617dd534df04f1c1c0842d59f50f531.zip
CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.gz
CMake-76f905002617dd534df04f1c1c0842d59f50f531.tar.bz2
ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 9a9f3ea..1822c4e 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -11,8 +11,10 @@
SET(JAVA_AWT_LIBRARY_DIRECTORIES
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib"
+ /usr/lib64
/usr/lib
/usr/local/lib
+ /usr/lib64/java/jre/lib/i386
/usr/lib/java/jre/lib/i386
/usr/local/lib/java/jre/lib/i386
/usr/lib/j2sdk1.4-sun/jre/lib/i386
@@ -23,6 +25,7 @@ SET(JAVA_AWT_INCLUDE_DIRECTORIES
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include"
/usr/include
/usr/local/include
+ /usr/lib64/java/include
/usr/lib/java/include
/usr/local/lib/java/include
/usr/lib/j2sdk1.4-sun/include