Skip to content

Commit a36b94f

Browse files
committed
Update libwebsockets to the latest release
- This release handles mbedtls_3.x versions properly
1 parent f8bfa52 commit a36b94f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

CMake/Dependencies/libwebsockets-CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.6.3)
22

33
project(libwebsocket-download NONE)
44

5-
SET(PATCH_COMMAND git apply --verbose --ignore-whitespace ${CMAKE_CURRENT_LIST_DIR}/libwebsockets-old-gcc-fix-cast-cmakelists.patch)
6-
75
include(ExternalProject)
86
if (BUILD_STATIC_LIBS)
97
set(LWS_WITH_SHARED 0)
@@ -30,10 +28,9 @@ endif()
3028

3129
ExternalProject_Add(project_libwebsockets
3230
GIT_REPOSITORY https://github.com/warmcat/libwebsockets.git
33-
GIT_TAG v4.3.3
31+
GIT_TAG v4.3.5
3432
GIT_PROGRESS TRUE
3533
GIT_SHALLOW TRUE
36-
PATCH_COMMAND ${PATCH_COMMAND}
3734
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build
3835
LIST_SEPARATOR |
3936
CMAKE_ARGS
@@ -58,7 +55,7 @@ ExternalProject_Add(project_libwebsockets
5855
-DLWS_MBEDTLS_LIBRARIES=${LWS_MBEDTLS_LIBRARIES}
5956
-DLWS_MBEDTLS_INCLUDE_DIRS=${LWS_MBEDTLS_INCLUDE_DIRS}
6057
-DLWS_WITH_MINIMAL_EXAMPLES=1
61-
-DLWS_HAVE_PTHREAD_H=1
58+
-DLWS_HAVE_PTHREAD_H=1
6259
-DLWS_WITH_THREADPOOL=${LWS_WITH_THREADPOOL}
6360
-DLWS_WITH_ZLIB=0
6461
-DLWS_HAVE_EVENTFD=0

0 commit comments

Comments
 (0)