[CMake] FindJava.cmake update

Romain CHANU romainchanu at gmail.com
Mon Nov 2 08:35:09 EST 2009


Hello,

Regarding the FindJava.cmake, I have a couple of improvements to suggest:

1) I have noticed that there is no JAVA_FOUND variable in the current
version (and your version).

2) a JAVA_PATH (or another name) could also return the path where the Java
executables are located.

Since I do not know the good practices to write such modules, do you think
it would make sense to add those variables?

Cheers,

Romain Chanu

2009/10/30 Mathieu Malaterre <mathieu.malaterre at gmail.com>

> I updated the FindJava.cmake. It now implements the VERSION* stuff,
> and I fixed the naming convention as per the readme.txt. I tested on
> linux/gcj, linux/sun-java and linux/openjdk-6
>
> Cheers
> --
> Mathieu
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091102/e8cacb40/attachment.htm>


More information about the CMake mailing list