Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in
3148 views
#
# Test that setting the compression produces valid
# packages (compression does not leak to the DEBIAN/ files that use gzip)
#

if(CPACK_GENERATOR MATCHES "DEB")
   set(CPACK_DEB_COMPONENT_INSTALL "OFF")
endif()

set(CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE)
set(CPACK_DEBIAN_COMPRESSION_TYPE xz)