Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmake/MatlabWrap.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ function(wrap_library_internal interfaceHeader moduleName linkLibraries extraInc
if(UNIX)
set(GTWRAP_PATH_SEPARATOR ":")
else()
set(GTWRAP_PATH_SEPARATOR ";")
# Escaped: an unescaped ";" is CMake's list separator, so it would split
# the quoted PYTHONPATH argument below instead of joining two path entries.
set(GTWRAP_PATH_SEPARATOR "\\;")
endif()

# Set boost serialization flag for the python script call below.
Expand Down
4 changes: 3 additions & 1 deletion cmake/PybindWrap.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ function(
if(UNIX)
set(GTWRAP_PATH_SEPARATOR ":")
else()
set(GTWRAP_PATH_SEPARATOR ";")
# Escaped: an unescaped ";" is CMake's list separator, so it would split
# the quoted PYTHONPATH argument below instead of joining two path entries.
set(GTWRAP_PATH_SEPARATOR "\\;")
endif()

# Create a copy of interface_headers so we can freely manipulate it
Expand Down
Loading