View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015206CMakeCMakepublic2014-10-14 02:282015-04-06 09:07
ReporterLorenz Witte 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSWindowsOS Version
Product VersionCMake 3.0.2 
Target VersionCMake 3.2Fixed in VersionCMake 3.2 
Summary0015206: add_jar() in UseJava.cmake uses wrong classpath seperator when cross-compiling under Windows
DescriptionThe 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 ReproduceCall add_jar() during a cross-compilation on a Windows host.
TagsNo tags attached.
Attached Filespatch file icon 0001-fixed-classpath-separator-on-WIN32-cross-compilation.patch [^] (891 bytes) 2014-10-14 02:28 [Show Content]

 Relationships

  Notes
(0037030)
Brad King (manager)
2014-10-14 10:02

Applied, thanks:

 UseJava: Fix classpath separator on WIN32 cross compilation
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7a373d5e [^]
(0038423)
Robert Maynard (manager)
2015-04-06 09:07

Closing resolved issues that have not been updated in more than 4 months.

 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


Copyright © 2000 - 2018 MantisBT Team