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")