From 97d63aae7965a93187661ad303d9eb7616a61284 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sun, 24 May 2026 21:46:08 +0200 Subject: [PATCH] add extended description and default install prefix --- src/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 09e91a9..357ad61 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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