summaryrefslogtreecommitdiffstats
path: root/Modules/CPackDeb.cmake
diff options
context:
space:
mode:
authorMartin Konrad <konrad@ikp.tu-darmstadt.de>2011-03-24 08:25:58 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2011-03-24 08:25:58 (GMT)
commit33391c697f14f1c2d1204bcfed341bcb2cc89b05 (patch)
tree4c0603bd6d08ba93d315cbae58c0ae2974f0fbd9 /Modules/CPackDeb.cmake
parenteee9f74d4ec31fd0a18fd7afddb3d8e079468198 (diff)
downloadCMake-33391c697f14f1c2d1204bcfed341bcb2cc89b05.zip
CMake-33391c697f14f1c2d1204bcfed341bcb2cc89b05.tar.gz
CMake-33391c697f14f1c2d1204bcfed341bcb2cc89b05.tar.bz2
CPackDeb: Fix #12006 broken package names
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
Diffstat (limited to 'Modules/CPackDeb.cmake')
-rw-r--r--Modules/CPackDeb.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index 469f08f..90c80a4 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -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_PATH "/${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)
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_NAME "")
SET(CPACK_DEB_PACKAGE_COMPONENT_PART_PATH "")