summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Würth2026-01-26 15:35:05 +0100
committerGitHub2026-01-26 15:35:05 +0100
commit579fbf032881a4ec267d285806adfc8636c92013 (patch)
tree4947a6ca3040b565e61e49c7d0d77ac87a84b0c5
parent[SERVER] Speed up replication (diff)
downloaddnbd3-master.tar.gz
dnbd3-master.tar.xz
dnbd3-master.zip
cmake: Removed leading "/" of install pathsHEADmaster
Removed leading / of install paths, so files get installed in the directory requested by CMake's --prefix.
-rw-r--r--pkg/config/CMakeLists.txt2
-rw-r--r--pkg/systemd/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
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)