summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2019-03-11 22:26:04 (GMT)
committerBartosz Kosiorek <gang65@poczta.onet.pl>2019-05-22 01:46:55 (GMT)
commit53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777 (patch)
treec0c9a75e128ad3962065264948f41c16a9d7296b /Source/cmSystemTools.cxx
parent0bf53483295a4b7de358e8b85ad44866d89633c5 (diff)
downloadCMake-53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777.zip
CMake-53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777.tar.gz
CMake-53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777.tar.bz2
cmake: Teach cmake -E tar command, Zstandard compression
Fixes #18657
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 545e6c5..4ba04ed 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1614,6 +1614,9 @@ bool cmSystemTools::CreateTar(const char* outFileName,
case TarCompressXZ:
compress = cmArchiveWrite::CompressXZ;
break;
+ case TarCompressZstd:
+ compress = cmArchiveWrite::CompressZstd;
+ break;
case TarCompressNone:
compress = cmArchiveWrite::CompressNone;
break;