Skip to content

Commit

Permalink
feat(CMakeLists.txt): adding cpack gen config
Browse files Browse the repository at this point in the history
  • Loading branch information
joserafaelrebelo authored and naidjeldias committed Oct 4, 2023
1 parent 74b51ff commit 631325c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,19 @@ endif(OpenCV_FOUND)

# install example programs
install(TARGETS apriltag_demo RUNTIME DESTINATION bin)

set(CPACK_PACKAGE_NAME "apriltag")
set(CPACK_PACKAGE_VERSION "3.3.0")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "AprilTag is a visual fiducial system popular for robotics research.")

set(CPACK_GENERATOR "DEB")

set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-Linux-x86_64.tgz")

set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")

set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Jose Rafael <[email protected]>")

set (CPACK_DEBIAN_PACKAGE_DEPENDS "opencv (>= 4.5.5)")

include(CPack)

0 comments on commit 631325c

Please sign in to comment.