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/CPackComponentsDEB | |
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/CPackComponentsDEB')
-rw-r--r-- | Tests/CPackComponentsDEB/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CPackComponentsDEB/CMakeLists.txt b/Tests/CPackComponentsDEB/CMakeLists.txt index 093b23f..9d4b5e9 100644 --- a/Tests/CPackComponentsDEB/CMakeLists.txt +++ b/Tests/CPackComponentsDEB/CMakeLists.txt @@ -130,6 +130,8 @@ configure_file(${CPackComponentsDEB_SOURCE_DIR}/MyLibCPackConfig-${CPackDEBConfi @ONLY) set(CPACK_PROJECT_CONFIG_FILE ${CPackComponentsDEB_BINARY_DIR}/MyLibCPackConfig-${CPackDEBConfiguration}.cmake) +# set CPACK_DEBIAN_FILE_NAME to use default package name format +set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT") # Include CPack to introduce the appropriate targets include(CPack) |