From 579fbf032881a4ec267d285806adfc8636c92013 Mon Sep 17 00:00:00 2001 From: Aaron Würth Date: Mon, 26 Jan 2026 15:35:05 +0100 Subject: cmake: Removed leading "/" of install paths Removed leading / of install paths, so files get installed in the directory requested by CMake's --prefix.--- pkg/config/CMakeLists.txt | 2 +- pkg/systemd/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg') diff --git a/pkg/config/CMakeLists.txt b/pkg/config/CMakeLists.txt index efbd2bf..a330704 100644 --- a/pkg/config/CMakeLists.txt +++ b/pkg/config/CMakeLists.txt @@ -11,5 +11,5 @@ set(DNBD3_CONFIG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/alt-servers # install configuration files into sample directory install(FILES ${DNBD3_CONFIG_FILES} - DESTINATION /etc/dnbd3-server/sample + DESTINATION etc/dnbd3-server/sample COMPONENT server) diff --git a/pkg/systemd/CMakeLists.txt b/pkg/systemd/CMakeLists.txt index b094b4b..237d0f0 100644 --- a/pkg/systemd/CMakeLists.txt +++ b/pkg/systemd/CMakeLists.txt @@ -9,5 +9,5 @@ set(DNBD3_SYSTEMD_FILES ${CMAKE_CURRENT_SOURCE_DIR}/dnbd3-server.service) # install systemd service files install(FILES ${DNBD3_SYSTEMD_FILES} - DESTINATION /usr/lib/systemd/system + DESTINATION usr/lib/systemd/system COMPONENT server) -- cgit v1.2.3-55-g7522