CPackDeb: Fix #12006 broken package names
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
This commit is contained in:
parent
eee9f74d4e
commit
33391c697f
|
@ -316,6 +316,7 @@ IF(CPACK_DEB_PACKAGE_COMPONENT)
|
||||||
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "-${CPACK_DEB_PACKAGE_COMPONENT}")
|
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "-${CPACK_DEB_PACKAGE_COMPONENT}")
|
||||||
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_PATH "/${CPACK_DEB_PACKAGE_COMPONENT}")
|
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_PATH "/${CPACK_DEB_PACKAGE_COMPONENT}")
|
||||||
SET(WDIR "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}/${CPACK_DEB_PACKAGE_COMPONENT}")
|
SET(WDIR "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}/${CPACK_DEB_PACKAGE_COMPONENT}")
|
||||||
|
STRING(TOLOWER "${CPACK_PACKAGE_NAME}${CPACK_DEB_PACKAGE_COMPONENT_PART_NAME}" CPACK_DEBIAN_PACKAGE_NAME)
|
||||||
ELSE(CPACK_DEB_PACKAGE_COMPONENT)
|
ELSE(CPACK_DEB_PACKAGE_COMPONENT)
|
||||||
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "")
|
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "")
|
||||||
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_PATH "")
|
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_PATH "")
|
||||||
|
|
Loading…
Reference in New Issue