summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-13 15:23:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-13 15:23:26 (GMT)
commite61c2ed9acb493d1adca748088a1f34e34f9f726 (patch)
tree38dd6fa2e5a573ceacbf7911ed6f88b0e8266647 /Modules/CPack.cmake
parent1d2bead8dd61e4550312dc36a24180ab2f7ff351 (diff)
parentd491f34a5ef303217aef335fdc02a8ff987a6fc8 (diff)
downloadCMake-e61c2ed9acb493d1adca748088a1f34e34f9f726.zip
CMake-e61c2ed9acb493d1adca748088a1f34e34f9f726.tar.gz
CMake-e61c2ed9acb493d1adca748088a1f34e34f9f726.tar.bz2
Merge topic 'fix-cpack-deb-description-file'
d491f34a5e CPack: Fix regression in DEB generator description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4204
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index cbb5323..e4f75d5 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -470,8 +470,10 @@ if(CMAKE_PROJECT_HOMEPAGE_URL)
"${CMAKE_PROJECT_HOMEPAGE_URL}")
endif()
-_cpack_set_default(CPACK_PACKAGE_DESCRIPTION_FILE
+set(CPACK_DEFAULT_PACKAGE_DESCRIPTION_FILE
"${CMAKE_ROOT}/Templates/CPack.GenericDescription.txt")
+_cpack_set_default(CPACK_PACKAGE_DESCRIPTION_FILE
+ "${CPACK_DEFAULT_PACKAGE_DESCRIPTION_FILE}")
_cpack_set_default(CPACK_RESOURCE_FILE_LICENSE
"${CMAKE_ROOT}/Templates/CPack.GenericLicense.txt")
_cpack_set_default(CPACK_RESOURCE_FILE_README