mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 19:29:49 +00:00
[libwebsockets] add libuv support (#9970)
* [libwebsockets] add libuv support * [libwebsockets] Bump control version Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
parent
90114a0e2e
commit
bc37190216
@ -1,8 +1,17 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4daeec85e..34e5e197d 100644
|
||||
index 7772ed0..656e5a0 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1822,7 +1822,7 @@ endif()
|
||||
@@ -1767,7 +1767,7 @@ endif(LWS_WITH_LIBEV)
|
||||
if (LWS_WITH_LIBUV)
|
||||
if (NOT LIBUV_FOUND)
|
||||
find_path(LIBUV_INCLUDE_DIRS NAMES uv.h)
|
||||
- find_library(LIBUV_LIBRARIES NAMES uv)
|
||||
+ find_library(LIBUV_LIBRARIES NAMES uv libuv)
|
||||
if(LIBUV_INCLUDE_DIRS AND LIBUV_LIBRARIES)
|
||||
set(LIBUV_FOUND 1)
|
||||
endif()
|
||||
@@ -1826,7 +1826,7 @@ endif()
|
||||
if (WINCE)
|
||||
list(APPEND LIB_LIST ws2.lib)
|
||||
elseif (WIN32)
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: libwebsockets
|
||||
Version: 3.2.2
|
||||
Build-Depends: zlib, openssl
|
||||
Version: 3.2.2-1
|
||||
Build-Depends: zlib, openssl, libuv
|
||||
Homepage: https://github.com/warmcat/libwebsockets
|
||||
Description: Libwebsockets is a lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions as client or server.
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO warmcat/libwebsockets
|
||||
@ -141,6 +139,7 @@ vcpkg_configure_cmake(
|
||||
-DLWS_IPV6=ON
|
||||
-DLWS_HTTP2=ON
|
||||
-DLWS_WITH_HTTP_STREAM_COMPRESSION=ON # Since zlib is already a dependency
|
||||
-DLWS_WITH_LIBUV=ON
|
||||
# OPTIONS_RELEASE -DOPTIMIZE=1
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user