mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
ENH: add better error reporting for file open failures
This commit is contained in:
@@ -141,6 +141,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
|
||||
{
|
||||
cmSystemTools::Error("Failed to create CMakeList file for ",
|
||||
outFileName.c_str());
|
||||
cmSystemTools::ReportLastSystemError("");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user