mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Merge topic 'java-updates'
18c3714f UseJava: Fix create_javah CLASSPATH handling on Windows
This commit is contained in:
@@ -1212,7 +1212,7 @@ function (create_javah)
|
||||
|
||||
set (_output_files)
|
||||
if (WIN32 AND NOT CYGWIN AND CMAKE_HOST_SYSTEM_NAME MATCHES "Windows")
|
||||
set(_classpath_sep ";")
|
||||
set(_classpath_sep "$<SEMICOLON>")
|
||||
else ()
|
||||
set(_classpath_sep ":")
|
||||
endif()
|
||||
@@ -1242,7 +1242,7 @@ function (create_javah)
|
||||
endif()
|
||||
endforeach()
|
||||
string (REPLACE ";" "${_classpath_sep}" _classpath "${_classpath}")
|
||||
list (APPEND _javah_options -classpath ${_classpath})
|
||||
list (APPEND _javah_options -classpath "${_classpath}")
|
||||
endif()
|
||||
|
||||
if (_create_javah_OUTPUT_DIR)
|
||||
|
||||
Reference in New Issue
Block a user