Re: [cmake-developers] Java_INCLUDE_DIRS not populated by FindJava.cmake
On Mon, Oct 17, 2016 at 15:32:06 +1100, Craig Scott wrote: > 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. There's FindJNI for that. --Ben -- 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
Re: [cmake-developers] Java_INCLUDE_DIRS not populated by FindJava.cmake
On 10/17/2016 12:32 AM, Craig Scott wrote: > Unless I'm missing something, it would seem that even though > the documentation says FindJava.cmake sets Java_INCLUDE_DIRS The documentation was wrong and was fixed in 3.7: FindJava: Do not document variables we do not provide https://gitlab.kitware.com/cmake/cmake/commit/10a7459a -Brad -- 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
[cmake-developers] Java_INCLUDE_DIRS not populated by FindJava.cmake
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