mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
evlib plugins: revert to building in if no LWS_WITH_SHARED
https://github.com/warmcat/libwebsockets/issues/2033
This commit is contained in:
parent
c3dee88156
commit
86409e9f62
1 changed files with 7 additions and 0 deletions
|
@ -397,6 +397,13 @@ if (LWS_WITH_PLUGINS AND NOT LWS_WITH_SHARED)
|
|||
endif()
|
||||
|
||||
|
||||
# if we're only building static, we don't want event lib plugins
|
||||
#
|
||||
if (LWS_WITH_EVLIB_PLUGINS AND NOT LWS_WITH_SHARED)
|
||||
message("Deselecting EVLIB_PLUGINS since building static")
|
||||
set(LWS_WITH_EVLIB_PLUGINS 0)
|
||||
endif()
|
||||
|
||||
if (LWS_WITH_PLUGINS OR (LWS_WITH_EVLIB_PLUGINS AND LWS_WITH_EVENT_LIBS))
|
||||
set(LWS_WITH_PLUGINS_API 1)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue