summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2011-03-28 15:57:04 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2011-04-08 13:19:28 (GMT)
commit4f35488fe97c6e427e5835e7c50043d1d0b41331 (patch)
tree761f732ad1072dce243e9e6a91226dfe1400ba39 /Modules/FindJNI.cmake
parent0e66141bea25a93a5ef42c39d5c3a0b6612c1fe6 (diff)
downloadCMake-4f35488fe97c6e427e5835e7c50043d1d0b41331.zip
CMake-4f35488fe97c6e427e5835e7c50043d1d0b41331.tar.gz
CMake-4f35488fe97c6e427e5835e7c50043d1d0b41331.tar.bz2
Add support for FindJava on HP-UX and alpha
This commit fixes BUG: 0010242. It now properly inspect specific directory on hp-ux and alpha implementation of the JRE
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 6ba1826..da24fc0 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -226,6 +226,8 @@ FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h
${JAVA_INCLUDE_PATH}/linux
${JAVA_INCLUDE_PATH}/freebsd
${JAVA_INCLUDE_PATH}/solaris
+ ${JAVA_INCLUDE_PATH}/hp-ux
+ ${JAVA_INCLUDE_PATH}/alpha
)
FIND_PATH(JAVA_AWT_INCLUDE_PATH jawt.h