The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15206 ====================================================================== Reported By: Lorenz Witte Assigned To: ====================================================================== Project: CMake Issue ID: 15206 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2014-10-14 02:28 EDT Last Modified: 2014-10-14 02:28 EDT ====================================================================== Summary: add_jar() in UseJava.cmake uses wrong classpath seperator when cross-compiling under Windows Description: The condition to use ";" as classpath separator includes a check for the switch "WIN32" which is a target switch. When cross-compiling for a non-windows target, this switch is not present and the separator defaults to ":".
I think it should rather check for "CMAKE_HOST_WIN32" instead. Steps to Reproduce: Call add_jar() during a cross-compilation on a Windows host. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-10-14 02:28 Lorenz Witte New Issue 2014-10-14 02:28 Lorenz Witte File Added: 0001-fixed-classpath-separator-on-WIN32-cross-compilation.patch ====================================================================== -- 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
