Commit 0a48080a authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'ExternalData-fail-reason'


 ExternalData: Improve error message when we fail to create a file

Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: Ben Boeckel's avatarBen Boeckel <>
Merge-request: !6038
parents 15a148de 29876066
......@@ -949,7 +949,7 @@ function(_ExternalData_link_or_copy src dst)
file(REMOVE "${tmp}")
message(FATAL_ERROR "Failed to create\n ${tmp}\nfrom\n ${obj}")
message(FATAL_ERROR "Failed to create:\n \"${tmp}\"\nfrom:\n \"${obj}\"\nwith error:\n ${result}")
# Atomically create/replace the real destination.
Supports Markdown
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