Disable systemd when building on macOS using CMake
This commit is contained in:
parent
7a38f02699
commit
ed29e986c1
@ -75,8 +75,12 @@ else()
|
||||
list(APPEND turnserver_DEFINED TURN_NO_HIREDIS)
|
||||
endif()
|
||||
|
||||
find_package(libsystemd)
|
||||
if(libsystemd_FOUND)
|
||||
if(NOT APPLE)
|
||||
find_package(libsystemd)
|
||||
if(libsystemd_FOUND)
|
||||
else()
|
||||
list(APPEND turnserver_DEFINED TURN_NO_SYSTEMD)
|
||||
endif()
|
||||
else()
|
||||
list(APPEND turnserver_DEFINED TURN_NO_SYSTEMD)
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user