The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15710 ====================================================================== Reported By: Felix Geyer Assigned To: ====================================================================== Project: CMake Issue ID: 15710 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-08-24 10:04 EDT Last Modified: 2015-08-24 10:04 EDT ====================================================================== Summary: Does not find JNI on x32 Description: FindJNI.cmake sets _java_libarch incorrect on the x32 architecture (amd64 kernel + x32 uerland).
The attached patch by Thorsten Glaser <t...@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 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-08-24 10:04 Felix Geyer New Issue 2015-08-24 10:04 Felix Geyer File Added: findjni_x32.diff ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers