Skip to content

try_compile: Improve error message when a file cannot be removed

Brad King requested to merge brad.king/cmake:report-system-error into master

Previously this reported strerror(errno) after a failure. That may not be accurate on Windows. Instead, use the KWSys Status object now returned from our RemoveFile function.

Similarly, improve error messages from cmake_symlink_{library,executable}.

Edited by Brad King

Merge request reports