From fa6821aeb019f877e97592f457bf1e5d77c46bea Mon Sep 17 00:00:00 2001 From: ooshlablu Date: Fri, 15 Oct 2021 20:29:49 -0400 Subject: [PATCH] Enable deb package generation with cpack --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e667a772f..a61c69945a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -931,6 +931,10 @@ set(CPACK_RPM_PACKAGE_LICENSE GPL-2.0) # TODO: CPACK_NSIS_* # TODO: Use CPack components for DSPSpy, etc => cpack_add_component +# Debian Specific. Install dpkg-dev for automatic deps generation +set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) +set(CPACK_DEBIAN_PACKAGE_SECTION "Games") + set(CPACK_SET_DESTDIR ON) set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2;ZIP") set(CPACK_SOURCE_IGNORE_FILES "\\\\.#;/#;.*~;\\\\.swp;/\\\\.git")