CMake/Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in
Raffi Enficiaud 341cd93489 CPackDeb: ctest tests for compression scheme leak
Test that changing compression of debian package
content does not affect DEBIAN/ files which must
be gzipped
2015-11-03 18:18:35 +01:00

12 lines
301 B
CMake

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