Mathieu Malaterre wrote:

# ok we found jni.h, now derive other location from it:
 get_filename_component(jni_path ${JAVA_INCLUDE_PATH} PATH)

FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h
  ${jni_path}
  ${jni_path}/win32
  ${jni_path}/linux
  ${jni_path}/freebsd
)

FIND_PATH(JAVA_AWT_INCLUDE_PATH jawt.h
  ${jni_path}
)

This looks reasonable.  Is there a case where this will not work?

-Bill



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to