Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit 68b724bf authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Handle spaces in path.

vtkPythonPackages ended up quoting escaped spaces causing the copy script
to fail. Fixed that.
parent 7bd57b70
......@@ -84,12 +84,13 @@ function(copy_files_recursive source-dir)
unset(CMAKE_CONFIGURABLE_FILE_CONTENT)
add_custom_command(OUTPUT ${output-file}
COMMAND ${CMAKE_COMMAND} -DOUTDIR="${dest-dir}"
-DSRCDIR="${source-dir}/"
-P "${CMAKE_CURRENT_BINARY_DIR}/${_name}.cfr.cmake"
COMMAND ${CMAKE_COMMAND} -DOUTDIR=${dest-dir}
-DSRCDIR=${source-dir}/
-P ${CMAKE_CURRENT_BINARY_DIR}/${_name}.cfr.cmake
COMMAND ${CMAKE_COMMAND} -E touch ${output-file}
DEPENDS ${all_files}
"${CMAKE_CURRENT_BINARY_DIR}/${_name}.cfr.cmake"
${extra_depends}
COMMENT ${label})
COMMENT ${label}
VERBATIM)
endfunction()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment