mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
89b144789d
When we know whether a failure was associated with the input or the output path, include this information in the error message.
5 lines
184 B
CMake
5 lines
184 B
CMake
set(oldname "${CMAKE_CURRENT_BINARY_DIR}/input")
|
|
set(newname "${CMAKE_CURRENT_BINARY_DIR}/output-missing/output")
|
|
file(WRITE "${oldname}" "")
|
|
file(COPY_FILE "${oldname}" "${newname}")
|