diff options
author | Brad King <brad.king@kitware.com> | 2002-07-15 13:22:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-07-15 13:22:17 (GMT) |
commit | 6bdf15c4deda36b778717a223de48041de09d6f9 (patch) | |
tree | c10cd1ab1cb91066d7440f6cb7a07d2c4d27a7e4 /Modules | |
parent | b59f5ddb7fcde717adfe23ebafcbe8c641f44687 (diff) | |
download | CMake-6bdf15c4deda36b778717a223de48041de09d6f9.zip CMake-6bdf15c4deda36b778717a223de48041de09d6f9.tar.gz CMake-6bdf15c4deda36b778717a223de48041de09d6f9.tar.bz2 |
ENH: Added /usr/local/lib/java search paths.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindJNI.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 8f6f134..3beb790 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -9,8 +9,11 @@ # FIND_LIBRARY(JAVA_AWT_LIBRARY jawt - PATHS /usr/lib /usr/local/lib /usr/lib/java/jre/lib/i386 - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib" + PATHS /usr/lib + /usr/local/lib + /usr/lib/java/jre/lib/i386 + /usr/local/lib/java/jre/lib/i386 + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib" ) # add in the include path @@ -18,6 +21,7 @@ FIND_PATH(JAVA_INCLUDE_PATH jni.h /usr/include /usr/local/include /usr/lib/java/include + /usr/local/lib/java/include "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include" ) |