summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-05-30 13:39:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-05-30 13:39:35 (GMT)
commit05af1770a05e00d67f12f4e3ef294360d8d6480d (patch)
treeaa3df4cd9049aaa6c7db42084590e4166cf5ec37 /Source/cmSystemTools.cxx
parentc68efd196eace176bed5216573d99fabba66df84 (diff)
parent53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777 (diff)
downloadCMake-05af1770a05e00d67f12f4e3ef294360d8d6480d.zip
CMake-05af1770a05e00d67f12f4e3ef294360d8d6480d.tar.gz
CMake-05af1770a05e00d67f12f4e3ef294360d8d6480d.tar.bz2
Merge topic 'tar-zstd-compression'
53cb1f2d04 cmake: Teach cmake -E tar command, Zstandard compression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3357
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 2453aea..8b9a517 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1557,6 +1557,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;