diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-07-11 16:31:59 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2019-09-21 22:31:24 (GMT) |
commit | 33c7ea513dc8a7e1322c5c37003c7c515bd8ad99 (patch) | |
tree | 1b0f529e7083387374ecd536f24a9311a06be33b /Tests/CPackComponentsDEB/MyLibCPackConfig-components-description2.cmake.in | |
parent | 53be31e19c0dc0f517825d1be056c55d7729a4b7 (diff) | |
download | CMake-33c7ea513dc8a7e1322c5c37003c7c515bd8ad99.zip CMake-33c7ea513dc8a7e1322c5c37003c7c515bd8ad99.tar.gz CMake-33c7ea513dc8a7e1322c5c37003c7c515bd8ad99.tar.bz2 |
CPackDeb: Use `CPACK_PACKAGE_DESCRIPTION_FILE`
Also, handle per-component description nicely.
Diffstat (limited to 'Tests/CPackComponentsDEB/MyLibCPackConfig-components-description2.cmake.in')
-rw-r--r-- | Tests/CPackComponentsDEB/MyLibCPackConfig-components-description2.cmake.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description2.cmake.in b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description2.cmake.in index cda79bc..d877325 100644 --- a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description2.cmake.in +++ b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-description2.cmake.in @@ -15,12 +15,12 @@ set(CPACK_COMPONENTS_IGNORE_GROUPS 1) #set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1) # overriding previous descriptions -set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "main description 2") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "main description 2") -# Components do not have any description +# Components do not have any description. +# So, content of `CPACK_PACKAGE_DESCRIPTION_FILE` gonna used +# after summary line. unset(CPACK_COMPONENT_APPLICATIONS_DESCRIPTION) unset(CPACK_COMPONENT_HEADERS_DESCRIPTION) -unset(CPACK_COMPONENT_LIBRARIES_DESCRIPTION) - -set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION "library description") +set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION "library description") |