summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)