View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015207CMakeModulespublic2014-10-14 10:312016-06-10 14:31
ReporterStepan Schejbal 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformlinuxOSOS Version
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0015207: FindJNI does not work when compiling 32-bit target on 64-bit host
DescriptionWhen compiling 32-bit linux target using "-m32", FindJNI breaks, because it is based on CMAKE_SYSTEM_PROCESSOR which does not match the target architecture. This is related to issue 0009611.
Steps To Reproducefind_package(JNI REQUIRED)

export CC=gcc-4.8
export CXX=g++-4.8
export JAVA_HOME=/opt/jdk1.7.0_55-i586
export CFLAGS=-m32
export CXXFLAGS=-m32
export LDFALGS=-m32
cmake...
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042647)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-10-14 10:31 Stepan Schejbal New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042647
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team