
When we know whether a failure was associated with the input or the output path, include this information in the error message.
4 lines
149 B
CMake
4 lines
149 B
CMake
set(oldname "${CMAKE_CURRENT_BINARY_DIR}/input-missing")
|
|
set(newname "${CMAKE_CURRENT_BINARY_DIR}/output")
|
|
file(COPY_FILE "${oldname}" "${newname}")
|