mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 09:39:46 -06:00
cmake: check for optional libsystemd presence
This commit is contained in:
@ -757,6 +757,14 @@ if(ENABLE_WX)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
find_package(Libsystemd)
|
||||
if(SYSTEMD_FOUND)
|
||||
message(STATUS "libsystemd found, enabling traversal server watchdog support")
|
||||
add_definitions(-DHAVE_LIBSYSTEMD)
|
||||
else()
|
||||
message(STATUS "libsystemd not found, disabling traversal server watchdog support")
|
||||
endif()
|
||||
|
||||
########################################
|
||||
# Pre-build events: Define configuration variables and write SCM info header
|
||||
#
|
||||
|
Reference in New Issue
Block a user