diff options
author | Brad King <brad.king@kitware.com> | 2011-03-31 17:23:16 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-03-31 17:23:16 (GMT) |
commit | cddbe63d795d035e49f0dcdb94ee354059a85fbf (patch) | |
tree | 1945c843bd9a216dcf5b527062248f2a34c45adb | |
parent | 62130ba9c4e9c2445e6d7d33467d34d204f3a684 (diff) | |
parent | 33391c697f14f1c2d1204bcfed341bcb2cc89b05 (diff) | |
download | CMake-cddbe63d795d035e49f0dcdb94ee354059a85fbf.zip CMake-cddbe63d795d035e49f0dcdb94ee354059a85fbf.tar.gz CMake-cddbe63d795d035e49f0dcdb94ee354059a85fbf.tar.bz2 |
Merge topic 'fix12006-brokenPackageName'
33391c6 CPackDeb: Fix #12006 broken package names
-rw-r--r-- | Modules/CPackDeb.cmake | 1 |
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 "") |