浏览代码

CPack fix broken compilation for CygwinSource generator

Eric NOULARD 15 年之前
父节点
当前提交
a986dafd7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/CPack/cmCPackCygwinSourceGenerator.cxx

+ 1 - 1
Source/CPack/cmCPackCygwinSourceGenerator.cxx

@@ -59,7 +59,7 @@ int cmCPackCygwinSourceGenerator::PackageFiles()
   // skip one parent up to the cmCPackTarBZip2Generator
   // to create tar.bz2 file with the list of source
   // files
-  this->Compress = BZIP2; 
+  this->Compress = cmArchiveWrite::CompressBZip2;
   if ( !this->cmCPackTarBZip2Generator::PackageFiles() )
     {
     return 0;