MantisBT - CMake
View Issue Details
0015710CMakeModulespublic2015-08-24 10:042016-01-04 11:52
Felix Geyer 
Brad King 
normalminoralways
closedfixed 
 
CMake 3.4CMake 3.4 
0015710: Does not find JNI on x32
FindJNI.cmake sets _java_libarch incorrect on the x32 architecture (amd64 kernel + x32 uerland).

The attached patch by Thorsten Glaser <tg@mirbsd.de> fixes this.
I'm not sure if there is a better variable to check instead of CMAKE_LIBRARY_ARCHITECTURE.


Forwarded from https://bugs.debian.org/792262 [^]
No tags attached.
diff findjni_x32.diff (650) 2015-08-24 10:04
https://public.kitware.com/Bug/file/5516/findjni_x32.diff
Issue History
2015-08-24 10:04Felix GeyerNew Issue
2015-08-24 10:04Felix GeyerFile Added: findjni_x32.diff
2015-08-24 11:07Brad KingNote Added: 0039323
2015-08-24 11:07Brad KingAssigned To => Brad King
2015-08-24 11:07Brad KingStatusnew => resolved
2015-08-24 11:07Brad KingResolutionopen => fixed
2015-08-24 11:07Brad KingFixed in Version => CMake 3.4
2015-08-24 11:07Brad KingTarget Version => CMake 3.4
2016-01-04 11:52Robert MaynardNote Added: 0040125
2016-01-04 11:52Robert MaynardStatusresolved => closed

Notes
(0039323)
Brad King   
2015-08-24 11:07   
Thanks, applied:

 FindJNI: Add support for x32 architecture on Linux
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c4d78b8b [^]
(0040125)
Robert Maynard   
2016-01-04 11:52   
Closing resolved issues that have not been updated in more than 4 months.