summaryrefslogtreecommitdiff
path: root/Source/CPack/cmCPack7zGenerator.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-04-07 12:36:52 +0200
committerBrad King <brad.king@kitware.com>2015-04-10 08:32:31 -0400
commitd2cc580704fa4e608eae104ce5be211a229b2d64 (patch)
treefd9459775349e127095719de4252c790b781fd02 /Source/CPack/cmCPack7zGenerator.cxx
parent1264c5b2c485416128466510c42ab40a03eb0ca3 (diff)
downloadcmake-d2cc580704fa4e608eae104ce5be211a229b2d64.tar.gz
cmake: Teach "-E tar" command a "--format=" option
Allows specifying a libarchive defined archive format currently restricted to 7zip, gnutar, pax, paxr and zip. The default is "paxr" (pax restricted).
Diffstat (limited to 'Source/CPack/cmCPack7zGenerator.cxx')
-rw-r--r--Source/CPack/cmCPack7zGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPack7zGenerator.cxx b/Source/CPack/cmCPack7zGenerator.cxx
index ce31ad4554..2809e568e3 100644
--- a/Source/CPack/cmCPack7zGenerator.cxx
+++ b/Source/CPack/cmCPack7zGenerator.cxx
@@ -15,7 +15,7 @@
//----------------------------------------------------------------------
cmCPack7zGenerator::cmCPack7zGenerator()
:cmCPackArchiveGenerator(cmArchiveWrite::CompressNone,
- cmArchiveWrite::Type7Zip)
+ "7zip")
{
}