diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2015-11-08 21:35:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-09 14:57:43 (GMT) |
commit | a60574f1bfbb5a153b7e55cf5183be93ac50bea0 (patch) | |
tree | 08fb92d41cee737da2e09f628e68f183085f5695 /Modules/CPackDeb.cmake | |
parent | 24012e3c15c127fe570a222fc8cde37cf2a27023 (diff) | |
download | CMake-a60574f1bfbb5a153b7e55cf5183be93ac50bea0.zip CMake-a60574f1bfbb5a153b7e55cf5183be93ac50bea0.tar.gz CMake-a60574f1bfbb5a153b7e55cf5183be93ac50bea0.tar.bz2 |
CPackDeb: set priority control field per component
Diffstat (limited to 'Modules/CPackDeb.cmake')
-rw-r--r-- | Modules/CPackDeb.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake index e2c2312..722dca4 100644 --- a/Modules/CPackDeb.cmake +++ b/Modules/CPackDeb.cmake @@ -120,12 +120,16 @@ # # # .. variable:: CPACK_DEBIAN_PACKAGE_PRIORITY +# CPACK_DEBIAN_<COMPONENT>_PACKAGE_PRIORITY # -# The Debian package priority +# Set Priority control field e.g. required, important, standard, optional, +# extra # # * Mandatory : YES # * Default : 'optional' # +# See https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities +# # # .. variable:: CPACK_DEBIAN_PACKAGE_HOMEPAGE # @@ -599,7 +603,7 @@ function(cpack_deb_prepare_package_vars) # if per-component variable, overrides the global CPACK_DEBIAN_PACKAGE_${variable_type_} # automatic dependency discovery will be performed afterwards. if(CPACK_DEB_PACKAGE_COMPONENT) - foreach(value_type_ DEPENDS RECOMMENDS SUGGESTS PREDEPENDS ENHANCES BREAKS CONFLICTS PROVIDES REPLACES SOURCE SECTION) + foreach(value_type_ DEPENDS RECOMMENDS SUGGESTS PREDEPENDS ENHANCES BREAKS CONFLICTS PROVIDES REPLACES SOURCE SECTION PRIORITY) set(_component_var "CPACK_DEBIAN_${_local_component_name}_PACKAGE_${value_type_}") # if set, overrides the global variable |