Skip to content

Commit

Permalink
Merge pull request #1443 from AntelopeIO/deb_zstd
Browse files Browse the repository at this point in the history
on cmake 3.22+ compress .deb packages via zstd
  • Loading branch information
spoonincode authored Jul 24, 2023
2 parents 167baef + 3b45daa commit 99c6c21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/AntelopeIO/leap")

set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_DEBIAN_BASE_PACKAGE_SECTION "utils")
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
set(CPACK_DEBIAN_COMPRESSION_TYPE "zstd")
endif()

set(CPACK_DEBIAN_PACKAGE_CONFLICTS "eosio, mandel")
set(CPACK_RPM_PACKAGE_CONFLICTS "eosio, mandel")
Expand Down

0 comments on commit 99c6c21

Please sign in to comment.