set(CPACK_PACKAGE_DESCRIPTION "ArUCO Package")
set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
set(CPACK_PACKAGE_VENDOR "University of Cordoba")
set(CPACK_PACKAGE_CONTACT "rmsalinas@uco.es")
set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
SET(CPACK_PACKAGE_DESCRIPTION "ArUCO library and applications")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "ArUCO is a library for fiducial tag detection")

SET(CPACK_GENERATOR "DEB")
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "i386")
SET(CPACK_DEBIAN_PACKAGE_DEPENDS " ")
SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")

include (CPack)
#In Ubuntu 18 requires sudo apt-get install libopencv-highgui3.2 libopencv-calib3d3.2 libopencv-imgproc3.2 libqt5gui5 libqt5opengl5
