From e183581b1459aba72758f395d7e1b74ff8f6aade Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 29 Oct 2009 13:48:32 -0400 Subject: Fix for bug #9793 try to make sure jni.h matches jni_md.h --- Modules/FindJNI.cmake | 3 +-- 1 file changed, 1 insertion(+), 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} ) -- cgit v0.12