CMake/Tests/CPackComponentsDEB/MyLibCPackConfig-compressio...

12 lines
301 B
CMake
Raw Normal View History

#
# 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)