CMake/Tests/RunCMake/file/COPY_FILE-input-missing.cmake
Brad King 89b144789d file(COPY_FILE): Report if failure occurred on input or output path
When we know whether a failure was associated with the input or the
output path, include this information in the error message.
2022-11-15 09:28:45 -05:00

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}")