summaryrefslogtreecommitdiff
path: root/src/system/dlt-system-process-handling.c
diff options
context:
space:
mode:
authorSebastian Kloska <sebastian.kloska@snafu.de>2019-11-08 10:41:08 +0100
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-11-08 18:41:08 +0900
commitf773961cda69ecc5334013dc82734f29f3459d2e (patch)
tree8ffe1315a641b821332a5246b324cd29fb227add /src/system/dlt-system-process-handling.c
parent9011106fdaf5f66c232da371e426c52010771cbd (diff)
downloadDLT-daemon-f773961cda69ecc5334013dc82734f29f3459d2e.tar.gz
Improvement: Make ZLib dependency optional (#182)
* New CMake option WITH_DLT_FILETRANSFER * Only request ZLIB package if WITH_DLT_COREDUMPHANDLER==ON or WITH_DLT_FILETRANSFER==ON Signed-off-by: Sebastian Kloska <sebastian.kloska@snafu.de>
Diffstat (limited to 'src/system/dlt-system-process-handling.c')
-rw-r--r--src/system/dlt-system-process-handling.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/system/dlt-system-process-handling.c b/src/system/dlt-system-process-handling.c
index af6ba66..eb310b0 100644
--- a/src/system/dlt-system-process-handling.c
+++ b/src/system/dlt-system-process-handling.c
@@ -128,8 +128,10 @@ void start_threads(DltSystemConfiguration *config)
if (config->LogFile.Enable)
start_thread(config, logfile_thread, "log file");
+#if defined(DLT_FILETRANSFER_ENABLE)
if (config->Filetransfer.Enable)
start_thread(config, filetransfer_thread, "file transfer");
+#endif
if (config->LogProcesses.Enable)
start_thread(config, logprocess_thread, "log process");