set(CPACK_BINARY_DEB ON)
set(CPACK_DEB_COMPONENT_INSTALL ${CPACK_COMPONENT_INSTALL})
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_PACKAGE_DEPENDS}")
set(CPACK_DEBIAN_ENABLE_COMPONENT_DEPENDS ON)
set(CPACK_COMPONENT_bin_DEPENDS lib)
set(CPACK_COMPONENT_dev_DEPENDS lib)
