[cmake-developers] Java_INCLUDE_DIRS not populated by FindJava.cmake

Ben Boeckel ben.boeckel at kitware.com
Mon Oct 17 09:58:00 EDT 2016


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


More information about the cmake-developers mailing list