diff options
Diffstat (limited to 'src/daemon/CMakeLists.txt')
-rw-r--r-- | src/daemon/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt index e4e96bd..f7aaa26 100644 --- a/src/daemon/CMakeLists.txt +++ b/src/daemon/CMakeLists.txt @@ -61,6 +61,9 @@ endif(WITH_UDP_CONNECTION) add_executable(dlt-daemon ${dlt_daemon_SRCS} ${systemd_SRCS}) target_link_libraries(dlt-daemon ${RT_LIBRARY} ${SOCKET_LIBRARY} ${CMAKE_THREAD_LIBS_INIT}) +if (WITH_SYSTEMD_SOCKET_ACTIVATION) + target_link_libraries(dlt-daemon systemd) +endif() install(TARGETS dlt-daemon RUNTIME DESTINATION bin |