mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
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}")
|