traversal: add systemd watchdog support

This commit is contained in:
Pierre Bourdon
2018-03-08 06:10:17 +00:00
parent f221fac02e
commit 9e0739f5e5
2 changed files with 17 additions and 1 deletions

View File

@ -131,6 +131,9 @@ endif()
if(UNIX)
# Posix networking code needs to be fixed for Windows
add_executable(traversal_server TraversalServer.cpp)
if(SYSTEMD_FOUND)
target_link_libraries(traversal_server ${SYSTEMD_LIBRARIES})
endif()
if(HAIKU)
target_link_libraries(traversal_server network)
endif()