From 59a0e82fed186436ebb9a800c0eea9c13307ac32 Mon Sep 17 00:00:00 2001 From: okaestne Date: Sun, 30 Oct 2022 18:56:58 +0100 Subject: [PATCH] feat(cmake): improved debian packaging Improve Debian package generated by cmake's CPack: * set architecture to `all`, making the .deb installable and thus Crow usable on other system archtectures like arm * add `libasio-dev` as dependency (fixes #420) * set section to `libdevel` * disabled shlibdeps (not needed here) --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a52c5732..28511c5bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -140,8 +140,10 @@ set(CPACK_DEBIAN_PACKAGE_MAINTAINER "CrowCpp") set(CPACK_PACKAGE_VENDOR "CrowCpp") set(CPACK_PACKAGE_DESCRIPTION "A Fast and Easy to use C++ microframework for the web.") set(CPACK_PACKAGE_HOMEPAGE_URL "https://crowcpp.org") +set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "all") set(CPACK_DEBIAN_PACKAGE_DEBUG OFF) -set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) +set(CPACK_DEBIAN_PACKAGE_DEPENDS "libasio-dev") +set(CPACK_DEBIAN_PACKAGE_SECTION "libdevel") include(CPack)