summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-16 18:38:16 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-16 18:38:16 (GMT)
commitf2a0671259a1ac769dc2f4f3628aab2f938472ab (patch)
tree3ad26860ccfeac9cf7db2ac85176750c5f32a0c3 /Modules
parent19bd84b3cde8b2d5453d937064ff91373874888f (diff)
parent778aacc864d050f6b1213dff0a3211723f79f928 (diff)
downloadCMake-f2a0671259a1ac769dc2f4f3628aab2f938472ab.zip
CMake-f2a0671259a1ac769dc2f4f3628aab2f938472ab.tar.gz
CMake-f2a0671259a1ac769dc2f4f3628aab2f938472ab.tar.bz2
Merge topic 'UseJava-cross-compile'
778aacc Allow using Java in a cross-compilation toolchain
Diffstat (limited to 'Modules')
-rw-r--r--Modules/UseJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake
index 0438695..e686c1d 100644
--- a/Modules/UseJava.cmake
+++ b/Modules/UseJava.cmake
@@ -242,7 +242,7 @@ function(add_jar _TARGET_NAME)
${CMAKE_JAVA_LIBRARY_OUTPUT_PATH}
)
- if (WIN32 AND NOT CYGWIN)
+ if (WIN32 AND NOT CYGWIN AND CMAKE_HOST_SYSTEM_NAME MATCHES "Windows")
set(CMAKE_JAVA_INCLUDE_FLAG_SEP ";")
else ()
set(CMAKE_JAVA_INCLUDE_FLAG_SEP ":")