From bc76ae227c0985b32e6c0571387916e044ac693e Mon Sep 17 00:00:00 2001 From: Christian Burger Date: Thu, 21 Apr 2022 12:36:18 +0200 Subject: [PATCH] fixed homepage for Debian package --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 098d182..10a9960 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,10 @@ # @author Christian Burger cmake_minimum_required(VERSION 3.16.3) -project(NCursesPtyWindow VERSION 0.1.0) +project(NCursesPtyWindow + VERSION 0.1.0 + HOMEPAGE_URL "https://gitea.xndr.de/christian/shellipt") +### 3.16.3 does not pick up the project's homepage URL by itself set(CMAKE_CXX_STANDARD 17) @@ -42,7 +45,7 @@ set(CPACK_PROJECT_NAME ${PROJECT_NAME}) set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) set(CPACK_PACKAGE_CONTACT "Christian Burger ") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Library for a pseudo terminal where the host end is a ncurses window") -set(CPACK_PACKAGE_HOMEPAGE_URL "https://gitea.xndr.de/christian/NCursesPtyWindow") +set(CPACK_DEBIAN_PACKAGE_HOMEPAGE ${CMAKE_PROJECT_HOMEPAGE_URL}) set(CPACK_GENERATOR "DEB" "TGZ") set(CPACK_DEBIAN_PACKAGE_DEPENDS "libncursesw6 (>=6.2), libvterm-dev (>= 0.1.2)")