improve debian support
This commit is contained in:
parent
3a2e8d05cb
commit
58d37d4cad
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue