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

2016-10-17 Thread Ben Boeckel
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.

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

2016-10-17 Thread Brad King
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