Zitat von Mathieu Malaterre <mathieu.malate...@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
Why are you using NO_DEFAULT_PATH and but listing /usr/bin and /usr/local/bin? This is wrong and breaks "/usr/local/bin before /usr/bin". Just drop those from the list and also your NO_DEFAULT_PATH. If you want your list first, use HINTS instead of PATHS. Additionally, you may want to mark the found values as advanced (like it was before).
HS _______________________________________________ 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