Commit dc7e3bac authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot
Browse files

Merge topic 'handle_spaces_in_path'

68b724bf

 Handle spaces in path.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Brad King's avatarBrad King <brad.king@kitware.com>
Merge-request: !3630
parents 7bd57b70 68b724bf
......@@ -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