diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-05-23 17:51:33 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-05-23 17:55:46 (GMT) |
commit | adbd3985f89f19d9de867a75321465d6e181908d (patch) | |
tree | d910cf142bdc41d81a8d1402b4ddb6e3b5d53a67 /Tests/CPackComponentsForAll | |
parent | c75d91a05c9f442582726e3e80fec41d016da76f (diff) | |
download | CMake-adbd3985f89f19d9de867a75321465d6e181908d.zip CMake-adbd3985f89f19d9de867a75321465d6e181908d.tar.gz CMake-adbd3985f89f19d9de867a75321465d6e181908d.tar.bz2 |
CPack/Deb possibility to change package name
This patch preserves backward compatibility of
deb package names with previous CMake versions
but similarly to CPack/RPM allows to change
package name format and supports DEB-DEFAULT
setting that produces proper Debian package names.
Diffstat (limited to 'Tests/CPackComponentsForAll')
-rw-r--r-- | Tests/CPackComponentsForAll/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CPackComponentsForAll/CMakeLists.txt b/Tests/CPackComponentsForAll/CMakeLists.txt index 05c13a4..3440843 100644 --- a/Tests/CPackComponentsForAll/CMakeLists.txt +++ b/Tests/CPackComponentsForAll/CMakeLists.txt @@ -165,6 +165,9 @@ set(CPACK_RPM_RELOCATION_PATHS "${CMAKE_INSTALL_INCLUDEDIR}" "${CMAKE_INSTALL_LIBDIR}" "${CMAKE_INSTALL_BINDIR}" "other_relocatable" "${CMAKE_INSTALL_LIBDIR}/inside_relocatable_two/depth_two/different_relocatable") +# set CPACK_DEBIAN_FILE_NAME to use default package name format +set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT") + # We may use the CPack specific config file in order # to tailor CPack behavior on a CPack generator specific way # (Behavior would be different for RPM or TGZ or DEB ...) |