summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2021-07-30 14:17:20 +0900
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-10-05 11:19:26 +0900
commite81f261a8fe42aeaf8e8757f6e4a1976abb759d3 (patch)
treef00539704182ae0247bd8fc8cb0c35e89a8b6eb4 /CMakeLists.txt
parent12a4464bd385ae88c3f1044d771341cd134cb18c (diff)
downloadDLT-daemon-e81f261a8fe42aeaf8e8757f6e4a1976abb759d3.tar.gz
cmake: Set empty to systemd_SRCS
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1102fe3..57ab9a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -230,6 +230,8 @@ if(WITH_SYSTEMD OR WITH_SYSTEMD_WATCHDOG OR WITH_SYSTEMD_JOURNAL)
"Set directory to install systemd unit files")
add_subdirectory(systemd)
+else()
+ set(systemd_SRCS "")
endif()
if(WITH_DLT_LOGSTORAGE_CTRL_UDEV)