mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
libsystemd: require LWS_WITH_SDEVENT for socketact example
This commit is contained in:
parent
4c50636912
commit
d67dd81b0e
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@ set(requirements 1)
|
||||||
require_lws_config(LWS_ROLE_H1 1 requirements)
|
require_lws_config(LWS_ROLE_H1 1 requirements)
|
||||||
require_lws_config(LWS_WITH_SERVER 1 requirements)
|
require_lws_config(LWS_WITH_SERVER 1 requirements)
|
||||||
require_lws_config(LWS_HAVE_SYSTEMD_H 1 requirements)
|
require_lws_config(LWS_HAVE_SYSTEMD_H 1 requirements)
|
||||||
|
require_lws_config(LWS_WITH_SDEVENT 1 requirements)
|
||||||
|
|
||||||
|
|
||||||
if (requirements)
|
if (requirements)
|
||||||
add_executable(${PROJECT_NAME} ${SRCS})
|
add_executable(${PROJECT_NAME} ${SRCS})
|
||||||
|
@ -41,4 +43,4 @@ if (requirements)
|
||||||
lws-minimal-http-server-systemd-socketact.socket
|
lws-minimal-http-server-systemd-socketact.socket
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system)
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue