mirror of https://github.com/OpenIPC/firmware.git
Changes for libevent+libwebsockets
parent
72c5acdce2
commit
187a3dd4a4
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/CMakeLists.txt 2022-01-03 18:39:55.630310294 +0300
|
||||||
|
+++ b/CMakeLists.txt 2022-01-03 18:53:59.831506949 +0300
|
||||||
|
@@ -1784,7 +1784,7 @@
|
||||||
|
if (LWS_WITH_LIBEVENT)
|
||||||
|
if (NOT LIBEVENT_FOUND)
|
||||||
|
find_path(LIBEVENT_INCLUDE_DIRS NAMES event2/event.h)
|
||||||
|
- find_library(LIBEVENT_LIBRARIES NAMES event)
|
||||||
|
+ find_library(LIBEVENT_LIBRARIES NAMES event_core)
|
||||||
|
if(LIBEVENT_INCLUDE_DIRS AND LIBEVENT_LIBRARIES)
|
||||||
|
set(LIBEVENT_FOUND 1)
|
||||||
|
endif()
|
|
@ -10,7 +10,7 @@ LIBWEBSOCKETS_OPENIPC_LICENSE = LGPL-2.1 with exceptions
|
||||||
LIBWEBSOCKETS_OPENIPC_LICENSE_FILES = LICENSE
|
LIBWEBSOCKETS_OPENIPC_LICENSE_FILES = LICENSE
|
||||||
LIBWEBSOCKETS_OPENIPC_DEPENDENCIES = zlib
|
LIBWEBSOCKETS_OPENIPC_DEPENDENCIES = zlib
|
||||||
LIBWEBSOCKETS_OPENIPC_INSTALL_STAGING = YES
|
LIBWEBSOCKETS_OPENIPC_INSTALL_STAGING = YES
|
||||||
LIBWEBSOCKETS_OPENIPC_CONF_OPTS = -DLWS_WITHOUT_TESTAPPS=ON -DLWS_IPV6=ON -DLWS_WITH_HTTP2=OFF
|
LIBWEBSOCKETS_OPENIPC_CONF_OPTS = -DLWS_WITHOUT_TESTAPPS=ON -DLWS_IPV6=ON -DLWS_WITH_HTTP2=OFF -DLWS_WITH_EVLIB_PLUGINS=OFF
|
||||||
|
|
||||||
# If LWS_MAX_SMP=1, then there is no code related to pthreads compiled
|
# If LWS_MAX_SMP=1, then there is no code related to pthreads compiled
|
||||||
# in the library. If unset, LWS_MAX_SMP defaults to 32 and a small
|
# in the library. If unset, LWS_MAX_SMP defaults to 32 and a small
|
||||||
|
|
Loading…
Reference in New Issue