libwebsockets: Add patch for CMake 4+ compatibility

Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alper Ak 2025-07-11 20:44:00 +03:00 committed by Khem Raj
parent e1e3bc1b53
commit 16c482f5e6
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 1555 additions and 0 deletions

View File

@ -9,6 +9,7 @@ DEPENDS:append:class-native = " libcap-native"
SRCREV = "ab9df9cfc39de7a49967f18387b6b76310947442"
SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.3-stable \
file://0001-sll_protocol-may-be-be16.patch \
file://0002-allow-build-with-cmake-4.patch \
"
UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases"