diff options
author | Russell Greene <russell@churchillnavigation.com> | 2021-07-26 18:36:04 (GMT) |
---|---|---|
committer | Russell Greene <russell@churchillnavigation.com> | 2021-07-29 17:40:40 (GMT) |
commit | 051da997da6344a33145e7c370e336dfc1e8fb09 (patch) | |
tree | f2f052121aa3d80952ab33a4c0e37610a0f73d1e /Source/CPack | |
parent | 6c01bbe180df8771fa1e93776f0b716ac146218f (diff) | |
download | CMake-051da997da6344a33145e7c370e336dfc1e8fb09.zip CMake-051da997da6344a33145e7c370e336dfc1e8fb09.tar.gz CMake-051da997da6344a33145e7c370e336dfc1e8fb09.tar.bz2 |
CPack/DEB: Add zstd compression for deb packages
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index 5b03185..5f0f153 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -111,6 +111,9 @@ DebGenerator::DebGenerator( } else if (!std::strcmp(debianCompressionType, "gzip")) { this->CompressionSuffix = ".gz"; this->TarCompressionType = cmArchiveWrite::CompressGZip; + } else if (!std::strcmp(debianCompressionType, "zstd")) { + this->CompressionSuffix = ".zst"; + this->TarCompressionType = cmArchiveWrite::CompressZstd; } else if (!std::strcmp(debianCompressionType, "none")) { this->CompressionSuffix.clear(); this->TarCompressionType = cmArchiveWrite::CompressNone; |