MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015206 | CMake | CMake | public | 2014-10-14 02:28 | 2015-04-06 09:07 |
|
Reporter | Lorenz Witte | |
Assigned To | Brad King | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | Windows | OS Version | |
Product Version | CMake 3.0.2 | |
Target Version | CMake 3.2 | Fixed in Version | CMake 3.2 | |
|
Summary | 0015206: 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. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 0001-fixed-classpath-separator-on-WIN32-cross-compilation.patch (891) 2014-10-14 02:28 https://public.kitware.com/Bug/file/5274/0001-fixed-classpath-separator-on-WIN32-cross-compilation.patch |
|
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 | |
2014-10-14 10:02 | Brad King | Note Added: 0037030 | |
2014-10-14 10:03 | Brad King | Assigned To | => Brad King |
2014-10-14 10:03 | Brad King | Status | new => resolved |
2014-10-14 10:03 | Brad King | Resolution | open => fixed |
2014-10-14 10:03 | Brad King | Fixed in Version | => CMake 3.2 |
2014-10-14 10:03 | Brad King | Target Version | => CMake 3.2 |
2015-04-06 09:07 | Robert Maynard | Note Added: 0038423 | |
2015-04-06 09:07 | Robert Maynard | Status | resolved => closed |