summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-10-29 17:48:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-10-29 17:48:32 (GMT)
commite183581b1459aba72758f395d7e1b74ff8f6aade (patch)
treecabadabbf4dd5a272d08b67a394115d35477b58a /Modules/FindJNI.cmake
parentdae1011d268eea663712b026f5aef83996452adc (diff)
downloadCMake-e183581b1459aba72758f395d7e1b74ff8f6aade.zip
CMake-e183581b1459aba72758f395d7e1b74ff8f6aade.tar.gz
CMake-e183581b1459aba72758f395d7e1b74ff8f6aade.tar.bz2
Fix for bug #9793 try to make sure jni.h matches jni_md.h
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 707d1fa..78b4781 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -195,14 +195,13 @@ FIND_PATH(JAVA_INCLUDE_PATH jni.h
)
FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h
- ${JAVA_AWT_INCLUDE_DIRECTORIES}
+ ${JAVA_INCLUDE_PATH}
${JAVA_INCLUDE_PATH}/win32
${JAVA_INCLUDE_PATH}/linux
${JAVA_INCLUDE_PATH}/freebsd
)
FIND_PATH(JAVA_AWT_INCLUDE_PATH jawt.h
- ${JAVA_AWT_INCLUDE_DIRECTORIES}
${JAVA_INCLUDE_PATH}
)