diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-29 17:48:32 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-29 17:48:32 (GMT) |
commit | e183581b1459aba72758f395d7e1b74ff8f6aade (patch) | |
tree | cabadabbf4dd5a272d08b67a394115d35477b58a /Modules/FindJNI.cmake | |
parent | dae1011d268eea663712b026f5aef83996452adc (diff) | |
download | CMake-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.cmake | 3 |
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} ) |