MantisBT - CMake
View Issue Details
0007345CMakeModulespublic2008-07-15 18:542008-07-20 15:47
papillon81 
Alex Neundorf 
normaltrivialalways
closedfixed 
 
 
0007345: FindJNI.cmake does not find all files on PPC
CMake does not find the JNI stuff on the PPC arch under Linux with installed JDK. This is caused by suboptimal entries in the FindJNI.cmake module right at the beginning:

$ENV{JAVA_HOME}/jre/lib/i386
$ENV{JAVA_HOME}/jre/lib/amd64

A definition for PPC is missing. Fixing this is as easy as adding one more line:

$ENV{JAVA_HOME}/jre/lib/ppc


As a cosmetic note it would probably make sense to get rid of all these fixed version numbers that are part of the other paths.
Tested under Gentoo with icedtea-1.2 and the soprano ebuild from kde4 overlay with sesame2 support enabled.
No tags attached.
Issue History
2008-07-15 18:54papillon81New Issue
2008-07-18 17:10Alex NeundorfStatusnew => assigned
2008-07-18 17:10Alex NeundorfAssigned To => Alex Neundorf
2008-07-20 15:46Alex NeundorfNote Added: 0012760
2008-07-20 15:46Alex NeundorfStatusassigned => resolved
2008-07-20 15:46Alex NeundorfResolutionopen => fixed
2008-07-20 15:47Alex NeundorfStatusresolved => closed
2008-07-20 15:47Alex NeundorfNote Added: 0012761

Notes
(0012760)
Alex Neundorf   
2008-07-20 15:46   
Fixed in cvs HEAD, also added ppc to the other search dirs.

Alex
(0012761)
Alex Neundorf   
2008-07-20 15:47   
Fixed in cvs.