Unless I'm missing something, it would seem that even though the documentation says FindJava.cmake sets Java_INCLUDE_DIRS, I don't see anything in that file or things it includes which try to set it. Is the documentation out of date or is the FindJava.cmake implementation missing some things? Or am I just blind and missed something obvious? ;)
In case anyone is wondering, the use case for me is when implementing a SWIG custom command to generate java wrappers, the jni.h header needs to be found by the generated sources. Cheers -- Craig Scott Melbourne, Australia https://crascit.com
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers