Skip to content

Commit

Permalink
feat(cmake): improved debian packaging
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
okaestne authored and The-EDev committed Nov 3, 2022
1 parent 3994bf2 commit 59a0e82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 59a0e82

Please sign in to comment.