Skip to content

Commit

Permalink
Fix debian depends
Browse files Browse the repository at this point in the history
Setting it twice, will override your previous cpack debian package depends, this is properly not what you want! You can add multiple dependencies by using the comma.
  • Loading branch information
Melroy van den Berg authored Aug 7, 2019
1 parent 6561cf6 commit e5812d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ else ()
endif ()

set (CPACK_DEBIAN_PACKAGE_SECTION "admin")
set (CPACK_DEBIAN_PACKAGE_DEPENDS "libpcap0.8 (>=1.3.0-1)")
set (CPACK_DEBIAN_PACKAGE_DEPENDS "libjson-c2 (>=0.11)")
set (CPACK_DEBIAN_PACKAGE_DEPENDS "libpcap0.8 (>=1.3.0-1), libjson-c2 (>=0.11)")

include (CPack)

0 comments on commit e5812d6

Please sign in to comment.