[CMake] CMake 2.8.0 RC 4 ready for testing!

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Oct 29 05:25:33 EDT 2009


On Thu, Oct 29, 2009 at 10:20 AM, Modestas Vainius <modestas at vainius.eu> wrote:
> Hello,
>
> On ketvirtadienis 29 Spalis 2009 10:29:15 Mathieu Malaterre wrote:
>> FindJNI.cmake stopped working for me at some point (during transition
>> of *official* cmake 2.6.4 -> *official* cmake 2.8rc4), this means it
>> affect your patched cmake 2.6.4 on debian.
>>
>> if you want to reproduce on debian:
>>
>> $ apt-get install gcj-4.4-jdk openjdk-6-jdk
>> $ cat CMakeLists.txt
>> FIND_PACKAGE(JNI REQUIRED)
>> $ cmake .
>> $ grep JAVA_INCLUD *
>> CMakeCache.txt:JAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java-1.5.0-gcj-4.4/inclu
>> de
>>  CMakeCache.txt:JAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java-6-openjdk/include
>>
>> This is now producing a mixture of gcj and openjdk, which is not a
>> desired behavior.
>> Thanks for fixing this. If you need more info please let me know.
>
> I'm so tired of this java mess... Apparently, you have a particular interest
> in this jvm stuff, why do not you just post a patch?

I did ! But you decided my patch was not as good (*), so you decided
to write yours. I am not going to fix your code.

If you are not going to fix your code, please revert to official cmake
2.6.4/FindJNI.cmake. VTK on debian is using my patch(*) and is working
ok so far.

Thank you,
-- 
Mathieu
(*)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544674


More information about the CMake mailing list