summaryrefslogtreecommitdiffstats
path: root/Source/cmExportLibraryDependencies.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExportLibraryDependencies.cxx')
-rw-r--r--Source/cmExportLibraryDependencies.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmExportLibraryDependencies.cxx b/Source/cmExportLibraryDependencies.cxx
index c8b2169..364bc28 100644
--- a/Source/cmExportLibraryDependencies.cxx
+++ b/Source/cmExportLibraryDependencies.cxx
@@ -82,6 +82,7 @@ void cmExportLibraryDependenciesCommand::FinalPass()
if (!fout)
{
cmSystemTools::Error("Error Writing ", fname.c_str());
+ cmSystemTools::ReportLastSystemError("");
return;
}
cmake* cm = m_Makefile->GetCMakeInstance();