On Thu, Oct 13, 2011 at 12:17:45PM +0300, Paul Irofti wrote: > On Thu, Oct 13, 2011 at 09:41:41AM +0200, David Coppa wrote: > > On Thu, Oct 13, 2011 at 9:36 AM, Paul Irofti <p...@irofti.net> wrote: > > > On Tue, Oct 11, 2011 at 07:15:19AM -0600, David Coppa wrote: > > >> Hi again, > > >> > > >> this one fixes another bug (into FindJNI.cmake) found by Vadim. > > > > > > Is this tested with jdk-1.7.0? > > > Because the current cmake port has a bug in its regex as well. > > > > Where? > > /usr/local/share/cmake/Modules/FindJava.cmake:129 and 131 as well.
Oh and FindJNI.cmake is broken as well. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: JAVA_AWT_INCLUDE_PATH (ADVANCED) [-path to where I did FIND_PACKAGE(JNI)-] JAVA_INCLUDE_PATH (ADVANCED) [-path to where I did FIND_PACKAGE(JNI)-] JAVA_INCLUDE_PATH2 (ADVANCED) [-path to where I did FIND_PACKAGE(JNI)-]