From 631325c1a6c136a1e8ac04231aa7e60942f2a77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rafael=20Reb=C3=AAlo?= Date: Mon, 25 Sep 2023 17:14:53 -0300 Subject: [PATCH] feat(CMakeLists.txt): adding cpack gen config --- CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9924a746..2e77bdf7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ") + +set (CPACK_DEBIAN_PACKAGE_DEPENDS "opencv (>= 4.5.5)") + +include(CPack) \ No newline at end of file