vcpkg/ports/libwebsockets/CMakeLists.patch
Shuanglei Tao bc37190216
[libwebsockets] add libuv support (#9970)
* [libwebsockets] add libuv support

* [libwebsockets] Bump control version

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-13 19:04:40 -08:00

23 lines
713 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7772ed0..656e5a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
- list(APPEND LIB_LIST ws2_32.lib userenv.lib psapi.lib iphlpapi.lib)
+ list(APPEND LIB_LIST ws2_32.lib userenv.lib psapi.lib iphlpapi.lib crypt32.lib)
endif()
if (${CMAKE_SYSTEM_NAME} MATCHES "QNX")