improve debian support

This commit is contained in:
Martin Brodbeck 2018-08-08 15:52:49 +02:00
parent 3a2e8d05cb
commit 58d37d4cad

View file

@ -56,6 +56,8 @@ if (WIN32 AND NOT UNIX)
else(WIN32 AND NOT UNIX) else(WIN32 AND NOT UNIX)
set(CPACK_SOURCE_GENERATOR "TBZ2") set(CPACK_SOURCE_GENERATOR "TBZ2")
set(CPACK_GENERATOR "RPM;DEB") set(CPACK_GENERATOR "RPM;DEB")
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE amd64)
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt5printsupport5 (>= 5.4), libjsoncpp1, libusb-1.0")
set(CPACK_STRIP_FILES "bin/kima2") set(CPACK_STRIP_FILES "bin/kima2")
set(CPACK_SOURCE_STRIP_FILES "") set(CPACK_SOURCE_STRIP_FILES "")
install(FILES ${CMAKE_SOURCE_DIR}/misc/kima2.desktop DESTINATION share/applications) install(FILES ${CMAKE_SOURCE_DIR}/misc/kima2.desktop DESTINATION share/applications)