diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-09-05 21:58:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-07 13:33:35 (GMT) |
commit | 332b089ad213a1aa89658fffd8f68c9064c6d3db (patch) | |
tree | fdbba37d62d8de80133774818018d7d02f695b98 /Tests/CPackComponentsDEB/MyLibCPackConfig-components-description1.cmake.in | |
parent | 8317ea01aa3cf9319ef907e127fa6dbf9666cc53 (diff) | |
download | CMake-332b089ad213a1aa89658fffd8f68c9064c6d3db.zip CMake-332b089ad213a1aa89658fffd8f68c9064c6d3db.tar.gz CMake-332b089ad213a1aa89658fffd8f68c9064c6d3db.tar.bz2 |
CPack/DEB: Make package description variable precedence match RPM
Make `CPACK_DEBIAN_PACKAGE_DESCRIPTION` fallback variable precedence
match CPackRPM behavior as much as possible. This is technically a
breaking change, but the new behavior is more consistent with
expectation anyway.
Closes: #16272
Diffstat (limited to 'Tests/CPackComponentsDEB/MyLibCPackConfig-components-description1.cmake.in')
-rw-r--r-- | Tests/CPackComponentsDEB/MyLibCPackConfig-components-description1.cmake.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description1.cmake.in b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description1.cmake.in index 74d816c..6c5a655 100644 --- a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description1.cmake.in +++ b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description1.cmake.in @@ -15,8 +15,8 @@ set(CPACK_COMPONENTS_IGNORE_GROUPS 1) #set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1) # overriding previous descriptions -set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "main description") -set(CPACK_COMPONENT_APPLICATIONS_DESCRIPTION "applications_description") -set(CPACK_COMPONENT_HEADERS_DESCRIPTION "headers_description") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "main description") +set(CPACK_DEBIAN_APPLICATIONS_PACKAGE_DESCRIPTION "applications_description") +set(CPACK_COMPONENT_HEADERS_DESCRIPTION "headers_description") # libraries does not have any description and should inherit from CPACK_PACKAGE_DESCRIPTION_SUMMARY unset(CPACK_COMPONENT_LIBRARIES_DESCRIPTION) |