From e81f261a8fe42aeaf8e8757f6e4a1976abb759d3 Mon Sep 17 00:00:00 2001 From: Saya Sugiura Date: Fri, 30 Jul 2021 14:17:20 +0900 Subject: cmake: Set empty to systemd_SRCS Signed-off-by: Saya Sugiura --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.1