From b69b6f4b7271fba7d4b35c880f91a0e44f66f6a7 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 9 Jun 2023 10:43:41 +0200 Subject: [PATCH] chore(cmake): properly create /etc/clightd/sensors.d folder upon install. Signed-off-by: Federico Di Pierro --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 467b9e1..0afead9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,6 +203,9 @@ endif() install(FILES ${SCRIPT_DIR}/org.clightd.clightd.conf DESTINATION ${DBUS_CONFIG_DIR}) +# Install /etc/clightd/sensors.d/ folder, needed by custom sensor +install (DIRECTORY "clightd/sensors.d" DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}) + # # Packaging support #