CPACK_COMPONENT_<COMPONENT>_DESCRIPTION being appended to
Reproducer
cmake_minimum_required(VERSION 3.16.3)
project(test)
set(CPACK_GENERATOR "DEB")
set(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "badger")
set(CPACK_COMPONENT_TEST_DESCRIPTION "My Description")
set(CPACK_COMPONENTS_ALL TEST)
include(CPack)
When running dpkg-deb -I I would expect to see
Description: My Description
(and you do pre 3.16)
but I actually see
Description: test built using CMake
My Description
This might be related to #20102 (closed) but that has been closed and as far as I can tell in 3.16.3 which still has this new behaviour.
Old, incorrect reproducer:
cmake_minimum_required(VERSION 3.16.3)
project(test)
set(CPACK_GENERATOR "DEB")
set(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "badger")
set(CPACK_DEBIAN_TEST_DESCRIPTION "My Description")
set(CPACK_COMPONENTS_ALL TEST)
include(CPack)
Edited by Kyle Edwards