include(InstallRequiredSystemLibraries)
set(CPACK_PACKAGE_CONTACT justcppdev@ya.ru)
set(CPACK_PACKAGE_VERSION_MAJOR ${RB_TREE_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${RB_TREE_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${RB_TREE_VERSION_PATCH})
set(CPACK_PACKAGE_VERSION_TWEAK ${RB_TREE_VERSION_TWEAK})
set(CPACK_PACKAGE_VERSION ${RB_TREE_VERSION})
set(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_CURRENT_SOURCE_DIR}/DESCRIPTION)
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "template rb_tree")
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE)
set(CPACK_RESOURCE_FILE_README ${CMAKE_CURRENT_SOURCE_DIR}/README.md)
set(CPACK_RPM_PACKAGE_NAME "rb_tree-devel")
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
set(CPACK_RPM_PACKAGE_GROUP "rb_tree")
set(CPACK_RPM_PACKAGE_URL "https://github.com/justcppdev/rb_tree")
set(CPACK_RPM_CHANGELOG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.md)
set(CPACK_RPM_PACKAGE_RELEASE 1)
set(CPACK_DEBIAN_PACKAGE_NAME "librb_tree-dev")
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://justcppdev.github.io/rb_tree")
set(CPACK_DEBIAN_PACKAGE_PREDEPENDS "cmake >= 3.0")
set(CPACK_DEBIAN_PACKAGE_RELEASE 1)
include(CPack)
