diff options
Diffstat (limited to 'Source/cmExportLibraryDependencies.cxx')
-rw-r--r-- | Source/cmExportLibraryDependencies.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportLibraryDependencies.cxx b/Source/cmExportLibraryDependencies.cxx index 364bc28..a83d7e1 100644 --- a/Source/cmExportLibraryDependencies.cxx +++ b/Source/cmExportLibraryDependencies.cxx @@ -73,9 +73,9 @@ void cmExportLibraryDependenciesCommand::FinalPass() else { std::auto_ptr<cmGeneratedFileStream> ap( - new cmGeneratedFileStream(fname.c_str())); + new cmGeneratedFileStream(fname.c_str(), true, true)); foutNew = ap; - foutPtr = &foutNew->GetStream(); + foutPtr = foutNew.get(); } std::ostream& fout = *foutPtr; |