]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
add extended description and default install prefix
authorBastian Dehn <hhaalo@arcor.de>
Sun, 24 May 2026 19:46:08 +0000 (21:46 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 24 May 2026 19:46:08 +0000 (21:46 +0200)
src/CMakeLists.txt

index 09e91a9e4e4f9a2c84cfa2e7ffee5b8d08fa6864..357ad61366edb1bc5d7f35ae538193c01b84dff2 100644 (file)
@@ -5,6 +5,10 @@ message(STATUS "PROJECT_VERSION: ${PROJECT_VERSION}")
 
 include(GNUInstallDirs)
 
+if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+  set_property(CACHE CMAKE_INSTALL_PREFIX PROPERTY VALUE "/usr")
+endif()
+
 find_package(LibXml2 REQUIRED)
 message(STATUS "find LibXml2: ${LIBXML2_LIBRARY}")
 
@@ -67,6 +71,7 @@ set(CPACK_DEBIAN_PACKAGE_RELEASE 1)
 set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Bastian Dehn <hhaalo@arcor.de")
 set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
 set(CPACK_DEBIAN_PACKAGE_SECTION "misc")
-set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "work time cli tool")
+set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "work time cli tool")
+set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "calc work time from begin to end without break time")
 
 include(CPack)