summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-04 14:13:37 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-04 14:13:37 (GMT)
commita0d40033701e20d1571b1ed2fdf3838671248f79 (patch)
tree7d0fc5fd3dc02c389c84b7c2ce9ed83405af849c /Modules
parent56714a49d4bb4b70799e857a24983e3002b4f112 (diff)
downloadCMake-a0d40033701e20d1571b1ed2fdf3838671248f79.zip
CMake-a0d40033701e20d1571b1ed2fdf3838671248f79.tar.gz
CMake-a0d40033701e20d1571b1ed2fdf3838671248f79.tar.bz2
minor fixes
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJNI.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 62de5dc..cec9f13 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -12,6 +12,10 @@ FIND_LIBRARY(JAVA_AWT_LIB_PATH jawt /usr/lib /usr/local/lib)
# add in the include path
FIND_PATH(JAVA_INCLUDE_PATH jni.h /usr/include /usr/local/include)
+FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h
+ ${JAVA_INCLUDE_PATH}/win32
+ ${JAVA_INCLUDE_PATH}/linux
+)
FIND_PATH(JAVE_AWT_INCLUDE_PATH jawt.h /usr/include /usr/local/include)