summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-06 12:28:04 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-06 12:28:19 (GMT)
commitf0a27e44f32cbb40669dd4ec81d4029d69bc82a0 (patch)
tree466c3a98d2c818c586e81d7665b1a2da479e3e96 /Source/cmSystemTools.cxx
parent2b9e3abcb5f55fa74ff50979176545da6c56e368 (diff)
parentb3bacf0152c15d46b5392c622b46dbfa2ad8c6c2 (diff)
downloadCMake-f0a27e44f32cbb40669dd4ec81d4029d69bc82a0.zip
CMake-f0a27e44f32cbb40669dd4ec81d4029d69bc82a0.tar.gz
CMake-f0a27e44f32cbb40669dd4ec81d4029d69bc82a0.tar.bz2
Merge topic 'parallel-lzma-compression'
b3bacf0152 cmCPackArchiveGenerator: support multithreaded compression b71d385ed4 cmCPackArchiveGenerator: support setting archive options 948aa8bd1c cmArchiveWrite: support setting archive filter options b9c17de023 cmArchiveWrite: split out opening the file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !3195
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index d290c0c..23b099a 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1321,6 +1321,7 @@ bool cmSystemTools::CreateTar(const std::string& outFileName,
cmArchiveWrite a(fout, compress, format.empty() ? "paxr" : format);
+ a.Open();
a.SetMTime(mtime);
a.SetVerbose(verbose);
bool tarCreatedSuccessfully = true;