diff options
| author | Alper Ak <alperyasinak1@gmail.com> | 2025-07-11 20:44:00 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-12 13:50:00 -0700 |
| commit | 16c482f5e6d0e2a9b4ad9f72987501c3f61d8c83 (patch) | |
| tree | 40bda31d6581c4e771fbcab8bf24ce1fb6054274 /meta-oe | |
| parent | e1e3bc1b53ad83e1b780238b95852d98a13056ed (diff) | |
| download | meta-openembedded-16c482f5e6d0e2a9b4ad9f72987501c3f61d8c83.tar.gz | |
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>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0002-allow-build-with-cmake-4.patch | 1554 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb | 1 |
2 files changed, 1555 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0002-allow-build-with-cmake-4.patch b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0002-allow-build-with-cmake-4.patch new file mode 100644 index 0000000000..6702106d59 --- /dev/null +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0002-allow-build-with-cmake-4.patch | |||
| @@ -0,0 +1,1554 @@ | |||
| 1 | From 8f58aff5ff86806b30839a61d2e6cbd454c27bc4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alper Ak <alperyasinak1@gmail.com> | ||
| 3 | Date: Fri, 11 Jul 2025 17:37:33 +0300 | ||
| 4 | Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ | ||
| 5 | compatibility | ||
| 6 | |||
| 7 | Fix: | ||
| 8 | |||
| 9 | | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | ||
| 10 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
| 11 | | | ||
| 12 | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
| 13 | | to tell CMake that the project requires at least <min> but has been updated | ||
| 14 | | to work with policies introduced by <max> or earlier. | ||
| 15 | | | ||
| 16 | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
| 17 | | | ||
| 18 | | | ||
| 19 | | -- Configuring incomplete, errors occurred! | ||
| 20 | |||
| 21 | Upstream-Status: Backport [https://github.com/warmcat/libwebsockets/commit/41eed87c79ebb56e85277198423f168362583fb7] | ||
| 22 | |||
| 23 | Signed-off-by: Alper Ak <alperyasinak1@gmail.com> | ||
| 24 | --- | ||
| 25 | CMakeLists.txt | 2 +- | ||
| 26 | minimal-examples-lowlevel/raw/minimal-raw-client/CMakeLists.txt | 2 +- | ||
| 27 | minimal-examples/abstract/protocols/smtp-client/CMakeLists.txt | 2 +- | ||
| 28 | minimal-examples/api-tests/api-test-async-dns/CMakeLists.txt | 2 +- | ||
| 29 | minimal-examples/api-tests/api-test-cose/CMakeLists.txt | 2 +- | ||
| 30 | minimal-examples/api-tests/api-test-dhcpc/CMakeLists.txt | 2 +- | ||
| 31 | minimal-examples/api-tests/api-test-fts/CMakeLists.txt | 2 +- | ||
| 32 | minimal-examples/api-tests/api-test-gencrypto/CMakeLists.txt | 2 +- | ||
| 33 | minimal-examples/api-tests/api-test-jose/CMakeLists.txt | 2 +- | ||
| 34 | minimal-examples/api-tests/api-test-lecp/CMakeLists.txt | 2 +- | ||
| 35 | minimal-examples/api-tests/api-test-lejp/CMakeLists.txt | 2 +- | ||
| 36 | minimal-examples/api-tests/api-test-lws_cache/CMakeLists.txt | 2 +- | ||
| 37 | minimal-examples/api-tests/api-test-lws_dsh/CMakeLists.txt | 2 +- | ||
| 38 | minimal-examples/api-tests/api-test-lws_map/CMakeLists.txt | 2 +- | ||
| 39 | .../api-tests/api-test-lws_sequencer/CMakeLists.txt | 2 +- | ||
| 40 | minimal-examples/api-tests/api-test-lws_smd/CMakeLists.txt | 2 +- | ||
| 41 | .../api-tests/api-test-lws_struct-json/CMakeLists.txt | 2 +- | ||
| 42 | .../api-tests/api-test-lws_struct_sqlite/CMakeLists.txt | 2 +- | ||
| 43 | minimal-examples/api-tests/api-test-lws_tokenize/CMakeLists.txt | 2 +- | ||
| 44 | minimal-examples/api-tests/api-test-lwsac/CMakeLists.txt | 2 +- | ||
| 45 | .../api-tests/api-test-secure-streams/CMakeLists.txt | 2 +- | ||
| 46 | minimal-examples/api-tests/api-test-smtp_client/CMakeLists.txt | 2 +- | ||
| 47 | minimal-examples/client-server/minimal-ws-proxy/CMakeLists.txt | 2 +- | ||
| 48 | minimal-examples/crypto/minimal-crypto-cose-key/CMakeLists.txt | 2 +- | ||
| 49 | minimal-examples/crypto/minimal-crypto-cose-sign/CMakeLists.txt | 2 +- | ||
| 50 | minimal-examples/crypto/minimal-crypto-jwe/CMakeLists.txt | 2 +- | ||
| 51 | minimal-examples/crypto/minimal-crypto-jwk/CMakeLists.txt | 2 +- | ||
| 52 | minimal-examples/crypto/minimal-crypto-jws/CMakeLists.txt | 2 +- | ||
| 53 | minimal-examples/crypto/minimal-crypto-x509/CMakeLists.txt | 2 +- | ||
| 54 | minimal-examples/dbus-client/minimal-dbus-client/CMakeLists.txt | 2 +- | ||
| 55 | .../dbus-client/minimal-dbus-ws-proxy-testclient/CMakeLists.txt | 2 +- | ||
| 56 | minimal-examples/dbus-server/minimal-dbus-server/CMakeLists.txt | 2 +- | ||
| 57 | .../dbus-server/minimal-dbus-ws-proxy/CMakeLists.txt | 2 +- | ||
| 58 | minimal-examples/gtk/minimal-gtk/CMakeLists.txt | 2 +- | ||
| 59 | .../http-client/minimal-http-client-attach/CMakeLists.txt | 2 +- | ||
| 60 | .../minimal-http-client-captive-portal/CMakeLists.txt | 2 +- | ||
| 61 | .../http-client/minimal-http-client-certinfo/CMakeLists.txt | 2 +- | ||
| 62 | .../minimal-http-client-custom-headers/CMakeLists.txt | 2 +- | ||
| 63 | .../http-client/minimal-http-client-h2-rxflow/CMakeLists.txt | 2 +- | ||
| 64 | .../http-client/minimal-http-client-hugeurl/CMakeLists.txt | 2 +- | ||
| 65 | .../http-client/minimal-http-client-jit-trust/CMakeLists.txt | 2 +- | ||
| 66 | .../http-client/minimal-http-client-multi/CMakeLists.txt | 2 +- | ||
| 67 | .../http-client/minimal-http-client-post/CMakeLists.txt | 2 +- | ||
| 68 | minimal-examples/http-client/minimal-http-client/CMakeLists.txt | 2 +- | ||
| 69 | .../http-server/minimal-http-server-basicauth/CMakeLists.txt | 2 +- | ||
| 70 | .../http-server/minimal-http-server-cgi/CMakeLists.txt | 2 +- | ||
| 71 | .../minimal-http-server-custom-headers/CMakeLists.txt | 2 +- | ||
| 72 | .../http-server/minimal-http-server-deaddrop/CMakeLists.txt | 2 +- | ||
| 73 | .../http-server/minimal-http-server-dynamic/CMakeLists.txt | 2 +- | ||
| 74 | .../minimal-http-server-eventlib-custom/CMakeLists.txt | 2 +- | ||
| 75 | .../minimal-http-server-eventlib-demos/CMakeLists.txt | 2 +- | ||
| 76 | .../minimal-http-server-eventlib-foreign/CMakeLists.txt | 2 +- | ||
| 77 | .../http-server/minimal-http-server-eventlib-smp/CMakeLists.txt | 2 +- | ||
| 78 | .../http-server/minimal-http-server-eventlib/CMakeLists.txt | 2 +- | ||
| 79 | .../http-server/minimal-http-server-form-get/CMakeLists.txt | 2 +- | ||
| 80 | .../minimal-http-server-form-post-file/CMakeLists.txt | 2 +- | ||
| 81 | .../minimal-http-server-form-post-lwsac/CMakeLists.txt | 2 +- | ||
| 82 | .../http-server/minimal-http-server-form-post/CMakeLists.txt | 2 +- | ||
| 83 | .../minimal-http-server-fulltext-search/CMakeLists.txt | 2 +- | ||
| 84 | .../http-server/minimal-http-server-h2-long-poll/CMakeLists.txt | 2 +- | ||
| 85 | .../http-server/minimal-http-server-mimetypes/CMakeLists.txt | 2 +- | ||
| 86 | .../http-server/minimal-http-server-multivhost/CMakeLists.txt | 2 +- | ||
| 87 | .../http-server/minimal-http-server-proxy/CMakeLists.txt | 2 +- | ||
| 88 | .../http-server/minimal-http-server-smp/CMakeLists.txt | 2 +- | ||
| 89 | .../http-server/minimal-http-server-sse-ring/CMakeLists.txt | 2 +- | ||
| 90 | .../http-server/minimal-http-server-sse/CMakeLists.txt | 2 +- | ||
| 91 | .../http-server/minimal-http-server-tls-80/CMakeLists.txt | 2 +- | ||
| 92 | .../http-server/minimal-http-server-tls-mem/CMakeLists.txt | 2 +- | ||
| 93 | .../http-server/minimal-http-server-tls/CMakeLists.txt | 2 +- | ||
| 94 | minimal-examples/http-server/minimal-http-server/CMakeLists.txt | 2 +- | ||
| 95 | .../mqtt-client/minimal-mqtt-client-multi/CMakeLists.txt | 2 +- | ||
| 96 | minimal-examples/mqtt-client/minimal-mqtt-client/CMakeLists.txt | 2 +- | ||
| 97 | minimal-examples/raw/minimal-raw-adopt-tcp/CMakeLists.txt | 2 +- | ||
| 98 | minimal-examples/raw/minimal-raw-adopt-udp/CMakeLists.txt | 2 +- | ||
| 99 | minimal-examples/raw/minimal-raw-audio/CMakeLists.txt | 2 +- | ||
| 100 | .../raw/minimal-raw-fallback-http-server/CMakeLists.txt | 2 +- | ||
| 101 | minimal-examples/raw/minimal-raw-file/CMakeLists.txt | 2 +- | ||
| 102 | minimal-examples/raw/minimal-raw-netcat/CMakeLists.txt | 2 +- | ||
| 103 | minimal-examples/raw/minimal-raw-proxy-fallback/CMakeLists.txt | 2 +- | ||
| 104 | minimal-examples/raw/minimal-raw-proxy/CMakeLists.txt | 2 +- | ||
| 105 | minimal-examples/raw/minimal-raw-serial/CMakeLists.txt | 2 +- | ||
| 106 | minimal-examples/raw/minimal-raw-vhost/CMakeLists.txt | 2 +- | ||
| 107 | .../secure-streams/minimal-secure-streams-alexa/CMakeLists.txt | 2 +- | ||
| 108 | .../secure-streams/minimal-secure-streams-avs/CMakeLists.txt | 2 +- | ||
| 109 | .../minimal-secure-streams-binance/CMakeLists.txt | 2 +- | ||
| 110 | .../secure-streams/minimal-secure-streams-blob/CMakeLists.txt | 2 +- | ||
| 111 | .../minimal-secure-streams-client-tx/CMakeLists.txt | 2 +- | ||
| 112 | .../secure-streams/minimal-secure-streams-cpp/CMakeLists.txt | 2 +- | ||
| 113 | .../minimal-secure-streams-hugeurl/CMakeLists.txt | 2 +- | ||
| 114 | .../minimal-secure-streams-metadata/CMakeLists.txt | 2 +- | ||
| 115 | .../secure-streams/minimal-secure-streams-perf/CMakeLists.txt | 2 +- | ||
| 116 | .../minimal-secure-streams-policy2c/CMakeLists.txt | 2 +- | ||
| 117 | .../secure-streams/minimal-secure-streams-post/CMakeLists.txt | 2 +- | ||
| 118 | .../secure-streams/minimal-secure-streams-proxy/CMakeLists.txt | 2 +- | ||
| 119 | .../secure-streams/minimal-secure-streams-seq/CMakeLists.txt | 2 +- | ||
| 120 | .../minimal-secure-streams-server-raw/CMakeLists.txt | 2 +- | ||
| 121 | .../secure-streams/minimal-secure-streams-server/CMakeLists.txt | 2 +- | ||
| 122 | .../secure-streams/minimal-secure-streams-sigv4/CMakeLists.txt | 2 +- | ||
| 123 | .../secure-streams/minimal-secure-streams-smd/CMakeLists.txt | 2 +- | ||
| 124 | .../minimal-secure-streams-staticpolicy/CMakeLists.txt | 2 +- | ||
| 125 | .../secure-streams/minimal-secure-streams-stress/CMakeLists.txt | 2 +- | ||
| 126 | .../minimal-secure-streams-testsfail/CMakeLists.txt | 2 +- | ||
| 127 | .../minimal-secure-streams-threads/CMakeLists.txt | 2 +- | ||
| 128 | .../secure-streams/minimal-secure-streams/CMakeLists.txt | 2 +- | ||
| 129 | .../ws-client/minimal-ws-client-binance/CMakeLists.txt | 2 +- | ||
| 130 | .../ws-client/minimal-ws-client-echo/CMakeLists.txt | 2 +- | ||
| 131 | .../ws-client/minimal-ws-client-ping/CMakeLists.txt | 2 +- | ||
| 132 | .../ws-client/minimal-ws-client-pmd-bulk/CMakeLists.txt | 2 +- | ||
| 133 | minimal-examples/ws-client/minimal-ws-client-rx/CMakeLists.txt | 2 +- | ||
| 134 | .../ws-client/minimal-ws-client-spam-tx-rx/CMakeLists.txt | 2 +- | ||
| 135 | .../ws-client/minimal-ws-client-spam/CMakeLists.txt | 2 +- | ||
| 136 | minimal-examples/ws-client/minimal-ws-client-tx/CMakeLists.txt | 2 +- | ||
| 137 | minimal-examples/ws-client/minimal-ws-client/CMakeLists.txt | 2 +- | ||
| 138 | minimal-examples/ws-server/minimal-ws-broker/CMakeLists.txt | 2 +- | ||
| 139 | minimal-examples/ws-server/minimal-ws-raw-proxy/CMakeLists.txt | 2 +- | ||
| 140 | .../ws-server/minimal-ws-server-echo/CMakeLists.txt | 2 +- | ||
| 141 | .../ws-server/minimal-ws-server-pmd-bulk/CMakeLists.txt | 2 +- | ||
| 142 | .../ws-server/minimal-ws-server-pmd-corner/CMakeLists.txt | 2 +- | ||
| 143 | minimal-examples/ws-server/minimal-ws-server-pmd/CMakeLists.txt | 2 +- | ||
| 144 | .../ws-server/minimal-ws-server-ring/CMakeLists.txt | 2 +- | ||
| 145 | .../ws-server/minimal-ws-server-threadpool/CMakeLists.txt | 2 +- | ||
| 146 | .../minimal-ws-server-threads-foreign-libuv-smp/CMakeLists.txt | 2 +- | ||
| 147 | .../ws-server/minimal-ws-server-threads-smp/CMakeLists.txt | 2 +- | ||
| 148 | .../ws-server/minimal-ws-server-threads/CMakeLists.txt | 2 +- | ||
| 149 | .../ws-server/minimal-ws-server-timer/CMakeLists.txt | 2 +- | ||
| 150 | minimal-examples/ws-server/minimal-ws-server/CMakeLists.txt | 2 +- | ||
| 151 | plugin-standalone/CMakeLists.txt | 2 +- | ||
| 152 | 127 files changed, 127 insertions(+), 127 deletions(-) | ||
| 153 | |||
| 154 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 155 | index 57c35232..eda93224 100644 | ||
| 156 | --- a/CMakeLists.txt | ||
| 157 | +++ b/CMakeLists.txt | ||
| 158 | @@ -22,7 +22,7 @@ | ||
| 159 | # IN THE SOFTWARE. | ||
| 160 | # | ||
| 161 | |||
| 162 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 163 | +cmake_minimum_required(VERSION 3.5) | ||
| 164 | include(CheckFunctionExists) | ||
| 165 | include(CheckSymbolExists) | ||
| 166 | include(CheckIncludeFile) | ||
| 167 | diff --git a/minimal-examples-lowlevel/raw/minimal-raw-client/CMakeLists.txt b/minimal-examples-lowlevel/raw/minimal-raw-client/CMakeLists.txt | ||
| 168 | index 4ff5c55c..aadda655 100644 | ||
| 169 | --- a/minimal-examples-lowlevel/raw/minimal-raw-client/CMakeLists.txt | ||
| 170 | +++ b/minimal-examples-lowlevel/raw/minimal-raw-client/CMakeLists.txt | ||
| 171 | @@ -1,5 +1,5 @@ | ||
| 172 | project(lws-minimal-raw-client C) | ||
| 173 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 174 | +cmake_minimum_required(VERSION 3.5) | ||
| 175 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 176 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 177 | include(CheckCSourceCompiles) | ||
| 178 | diff --git a/minimal-examples/abstract/protocols/smtp-client/CMakeLists.txt b/minimal-examples/abstract/protocols/smtp-client/CMakeLists.txt | ||
| 179 | index 52643138..d703efd1 100644 | ||
| 180 | --- a/minimal-examples/abstract/protocols/smtp-client/CMakeLists.txt | ||
| 181 | +++ b/minimal-examples/abstract/protocols/smtp-client/CMakeLists.txt | ||
| 182 | @@ -1,5 +1,5 @@ | ||
| 183 | project(lws-api-test-smtp_client C) | ||
| 184 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 185 | +cmake_minimum_required(VERSION 3.5) | ||
| 186 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 187 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 188 | include(CheckCSourceCompiles) | ||
| 189 | diff --git a/minimal-examples/api-tests/api-test-async-dns/CMakeLists.txt b/minimal-examples/api-tests/api-test-async-dns/CMakeLists.txt | ||
| 190 | index f2954d0f..089a352a 100644 | ||
| 191 | --- a/minimal-examples/api-tests/api-test-async-dns/CMakeLists.txt | ||
| 192 | +++ b/minimal-examples/api-tests/api-test-async-dns/CMakeLists.txt | ||
| 193 | @@ -1,5 +1,5 @@ | ||
| 194 | project(lws-api-test-async-dns C) | ||
| 195 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 196 | +cmake_minimum_required(VERSION 3.5) | ||
| 197 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 198 | |||
| 199 | set(SAMP lws-api-test-async-dns) | ||
| 200 | diff --git a/minimal-examples/api-tests/api-test-cose/CMakeLists.txt b/minimal-examples/api-tests/api-test-cose/CMakeLists.txt | ||
| 201 | index bd6b1428..d1c03520 100644 | ||
| 202 | --- a/minimal-examples/api-tests/api-test-cose/CMakeLists.txt | ||
| 203 | +++ b/minimal-examples/api-tests/api-test-cose/CMakeLists.txt | ||
| 204 | @@ -1,5 +1,5 @@ | ||
| 205 | project(lws-api-test-cose C) | ||
| 206 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 207 | +cmake_minimum_required(VERSION 3.5) | ||
| 208 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 209 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 210 | include(CheckCSourceCompiles) | ||
| 211 | diff --git a/minimal-examples/api-tests/api-test-dhcpc/CMakeLists.txt b/minimal-examples/api-tests/api-test-dhcpc/CMakeLists.txt | ||
| 212 | index 1bb2dcd1..3d6ddcbe 100644 | ||
| 213 | --- a/minimal-examples/api-tests/api-test-dhcpc/CMakeLists.txt | ||
| 214 | +++ b/minimal-examples/api-tests/api-test-dhcpc/CMakeLists.txt | ||
| 215 | @@ -1,5 +1,5 @@ | ||
| 216 | project(lws-api-test-dhcpc C) | ||
| 217 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 218 | +cmake_minimum_required(VERSION 3.5) | ||
| 219 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 220 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 221 | include(CheckCSourceCompiles) | ||
| 222 | diff --git a/minimal-examples/api-tests/api-test-fts/CMakeLists.txt b/minimal-examples/api-tests/api-test-fts/CMakeLists.txt | ||
| 223 | index 5a81ae8f..0f5c99f5 100644 | ||
| 224 | --- a/minimal-examples/api-tests/api-test-fts/CMakeLists.txt | ||
| 225 | +++ b/minimal-examples/api-tests/api-test-fts/CMakeLists.txt | ||
| 226 | @@ -1,5 +1,5 @@ | ||
| 227 | project(lws-api-test-fts C) | ||
| 228 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 229 | +cmake_minimum_required(VERSION 3.5) | ||
| 230 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 231 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 232 | include(CheckCSourceCompiles) | ||
| 233 | diff --git a/minimal-examples/api-tests/api-test-gencrypto/CMakeLists.txt b/minimal-examples/api-tests/api-test-gencrypto/CMakeLists.txt | ||
| 234 | index a3678d56..dfa41565 100644 | ||
| 235 | --- a/minimal-examples/api-tests/api-test-gencrypto/CMakeLists.txt | ||
| 236 | +++ b/minimal-examples/api-tests/api-test-gencrypto/CMakeLists.txt | ||
| 237 | @@ -1,5 +1,5 @@ | ||
| 238 | project(lws-api-test-gencrypto C) | ||
| 239 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 240 | +cmake_minimum_required(VERSION 3.5) | ||
| 241 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 242 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 243 | include(CheckCSourceCompiles) | ||
| 244 | diff --git a/minimal-examples/api-tests/api-test-jose/CMakeLists.txt b/minimal-examples/api-tests/api-test-jose/CMakeLists.txt | ||
| 245 | index 3a53382a..1158560d 100644 | ||
| 246 | --- a/minimal-examples/api-tests/api-test-jose/CMakeLists.txt | ||
| 247 | +++ b/minimal-examples/api-tests/api-test-jose/CMakeLists.txt | ||
| 248 | @@ -1,5 +1,5 @@ | ||
| 249 | project(lws-api-test-jose C) | ||
| 250 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 251 | +cmake_minimum_required(VERSION 3.5) | ||
| 252 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 253 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 254 | include(CheckCSourceCompiles) | ||
| 255 | diff --git a/minimal-examples/api-tests/api-test-lecp/CMakeLists.txt b/minimal-examples/api-tests/api-test-lecp/CMakeLists.txt | ||
| 256 | index b09ee02e..18fde6d5 100644 | ||
| 257 | --- a/minimal-examples/api-tests/api-test-lecp/CMakeLists.txt | ||
| 258 | +++ b/minimal-examples/api-tests/api-test-lecp/CMakeLists.txt | ||
| 259 | @@ -1,5 +1,5 @@ | ||
| 260 | project(lws-api-test-lecp C) | ||
| 261 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 262 | +cmake_minimum_required(VERSION 3.5) | ||
| 263 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 264 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 265 | include(CheckCSourceCompiles) | ||
| 266 | diff --git a/minimal-examples/api-tests/api-test-lejp/CMakeLists.txt b/minimal-examples/api-tests/api-test-lejp/CMakeLists.txt | ||
| 267 | index ccdb9b51..c0878180 100644 | ||
| 268 | --- a/minimal-examples/api-tests/api-test-lejp/CMakeLists.txt | ||
| 269 | +++ b/minimal-examples/api-tests/api-test-lejp/CMakeLists.txt | ||
| 270 | @@ -1,5 +1,5 @@ | ||
| 271 | project(lws-api-test-lejp C) | ||
| 272 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 273 | +cmake_minimum_required(VERSION 3.5) | ||
| 274 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 275 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 276 | include(CheckCSourceCompiles) | ||
| 277 | diff --git a/minimal-examples/api-tests/api-test-lws_cache/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_cache/CMakeLists.txt | ||
| 278 | index 72ae86a5..63158462 100644 | ||
| 279 | --- a/minimal-examples/api-tests/api-test-lws_cache/CMakeLists.txt | ||
| 280 | +++ b/minimal-examples/api-tests/api-test-lws_cache/CMakeLists.txt | ||
| 281 | @@ -1,5 +1,5 @@ | ||
| 282 | project(lws-api-test-lws_cache C) | ||
| 283 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 284 | +cmake_minimum_required(VERSION 3.5) | ||
| 285 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 286 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 287 | include(CheckCSourceCompiles) | ||
| 288 | diff --git a/minimal-examples/api-tests/api-test-lws_dsh/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_dsh/CMakeLists.txt | ||
| 289 | index 59d08cdb..b0e439d3 100644 | ||
| 290 | --- a/minimal-examples/api-tests/api-test-lws_dsh/CMakeLists.txt | ||
| 291 | +++ b/minimal-examples/api-tests/api-test-lws_dsh/CMakeLists.txt | ||
| 292 | @@ -1,5 +1,5 @@ | ||
| 293 | project(lws-api-test-lws_dsh C) | ||
| 294 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 295 | +cmake_minimum_required(VERSION 3.5) | ||
| 296 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 297 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 298 | include(CheckCSourceCompiles) | ||
| 299 | diff --git a/minimal-examples/api-tests/api-test-lws_map/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_map/CMakeLists.txt | ||
| 300 | index 897042c7..429b030c 100644 | ||
| 301 | --- a/minimal-examples/api-tests/api-test-lws_map/CMakeLists.txt | ||
| 302 | +++ b/minimal-examples/api-tests/api-test-lws_map/CMakeLists.txt | ||
| 303 | @@ -1,5 +1,5 @@ | ||
| 304 | project(lws-api-test-lws_map C) | ||
| 305 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 306 | +cmake_minimum_required(VERSION 3.5) | ||
| 307 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 308 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 309 | include(CheckCSourceCompiles) | ||
| 310 | diff --git a/minimal-examples/api-tests/api-test-lws_sequencer/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_sequencer/CMakeLists.txt | ||
| 311 | index 59333d81..523d6541 100644 | ||
| 312 | --- a/minimal-examples/api-tests/api-test-lws_sequencer/CMakeLists.txt | ||
| 313 | +++ b/minimal-examples/api-tests/api-test-lws_sequencer/CMakeLists.txt | ||
| 314 | @@ -1,5 +1,5 @@ | ||
| 315 | project(lws-api-test-lws_sequencer C) | ||
| 316 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 317 | +cmake_minimum_required(VERSION 3.5) | ||
| 318 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 319 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 320 | include(CheckCSourceCompiles) | ||
| 321 | diff --git a/minimal-examples/api-tests/api-test-lws_smd/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_smd/CMakeLists.txt | ||
| 322 | index e2827064..c6d25e0e 100644 | ||
| 323 | --- a/minimal-examples/api-tests/api-test-lws_smd/CMakeLists.txt | ||
| 324 | +++ b/minimal-examples/api-tests/api-test-lws_smd/CMakeLists.txt | ||
| 325 | @@ -1,5 +1,5 @@ | ||
| 326 | project(lws-api-test-lws_smd C) | ||
| 327 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 328 | +cmake_minimum_required(VERSION 3.5) | ||
| 329 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 330 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 331 | include(CheckCSourceCompiles) | ||
| 332 | diff --git a/minimal-examples/api-tests/api-test-lws_struct-json/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_struct-json/CMakeLists.txt | ||
| 333 | index 90680282..cdf262b3 100644 | ||
| 334 | --- a/minimal-examples/api-tests/api-test-lws_struct-json/CMakeLists.txt | ||
| 335 | +++ b/minimal-examples/api-tests/api-test-lws_struct-json/CMakeLists.txt | ||
| 336 | @@ -1,5 +1,5 @@ | ||
| 337 | project(lws-api-test-lws_struct-json C) | ||
| 338 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 339 | +cmake_minimum_required(VERSION 3.5) | ||
| 340 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 341 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 342 | include(CheckCSourceCompiles) | ||
| 343 | diff --git a/minimal-examples/api-tests/api-test-lws_struct_sqlite/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_struct_sqlite/CMakeLists.txt | ||
| 344 | index ac8b161e..8f2b64ce 100644 | ||
| 345 | --- a/minimal-examples/api-tests/api-test-lws_struct_sqlite/CMakeLists.txt | ||
| 346 | +++ b/minimal-examples/api-tests/api-test-lws_struct_sqlite/CMakeLists.txt | ||
| 347 | @@ -1,5 +1,5 @@ | ||
| 348 | project(lws-api-test-lws_struct-sqlite C) | ||
| 349 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 350 | +cmake_minimum_required(VERSION 3.5) | ||
| 351 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 352 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 353 | include(CheckCSourceCompiles) | ||
| 354 | diff --git a/minimal-examples/api-tests/api-test-lws_tokenize/CMakeLists.txt b/minimal-examples/api-tests/api-test-lws_tokenize/CMakeLists.txt | ||
| 355 | index 503f25db..9100a59f 100644 | ||
| 356 | --- a/minimal-examples/api-tests/api-test-lws_tokenize/CMakeLists.txt | ||
| 357 | +++ b/minimal-examples/api-tests/api-test-lws_tokenize/CMakeLists.txt | ||
| 358 | @@ -1,5 +1,5 @@ | ||
| 359 | project(lws-api-test-lws_tokenize C) | ||
| 360 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 361 | +cmake_minimum_required(VERSION 3.5) | ||
| 362 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 363 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 364 | include(CheckCSourceCompiles) | ||
| 365 | diff --git a/minimal-examples/api-tests/api-test-lwsac/CMakeLists.txt b/minimal-examples/api-tests/api-test-lwsac/CMakeLists.txt | ||
| 366 | index f7d0aaf4..1fa487c0 100644 | ||
| 367 | --- a/minimal-examples/api-tests/api-test-lwsac/CMakeLists.txt | ||
| 368 | +++ b/minimal-examples/api-tests/api-test-lwsac/CMakeLists.txt | ||
| 369 | @@ -1,5 +1,5 @@ | ||
| 370 | project(lws-api-test-lwsac C) | ||
| 371 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 372 | +cmake_minimum_required(VERSION 3.5) | ||
| 373 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 374 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 375 | include(CheckCSourceCompiles) | ||
| 376 | diff --git a/minimal-examples/api-tests/api-test-secure-streams/CMakeLists.txt b/minimal-examples/api-tests/api-test-secure-streams/CMakeLists.txt | ||
| 377 | index b4f39caa..de7d2703 100644 | ||
| 378 | --- a/minimal-examples/api-tests/api-test-secure-streams/CMakeLists.txt | ||
| 379 | +++ b/minimal-examples/api-tests/api-test-secure-streams/CMakeLists.txt | ||
| 380 | @@ -1,5 +1,5 @@ | ||
| 381 | project(lws-api-test-secure-streams C) | ||
| 382 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 383 | +cmake_minimum_required(VERSION 3.5) | ||
| 384 | include(CheckCSourceCompiles) | ||
| 385 | include(LwsCheckRequirements) | ||
| 386 | |||
| 387 | diff --git a/minimal-examples/api-tests/api-test-smtp_client/CMakeLists.txt b/minimal-examples/api-tests/api-test-smtp_client/CMakeLists.txt | ||
| 388 | index 49e67ff3..b64a79dc 100644 | ||
| 389 | --- a/minimal-examples/api-tests/api-test-smtp_client/CMakeLists.txt | ||
| 390 | +++ b/minimal-examples/api-tests/api-test-smtp_client/CMakeLists.txt | ||
| 391 | @@ -1,5 +1,5 @@ | ||
| 392 | project(lws-unit-tests-smtp-client C) | ||
| 393 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 394 | +cmake_minimum_required(VERSION 3.5) | ||
| 395 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 396 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 397 | include(CheckCSourceCompiles) | ||
| 398 | diff --git a/minimal-examples/client-server/minimal-ws-proxy/CMakeLists.txt b/minimal-examples/client-server/minimal-ws-proxy/CMakeLists.txt | ||
| 399 | index 65a01b6c..fabac7f4 100644 | ||
| 400 | --- a/minimal-examples/client-server/minimal-ws-proxy/CMakeLists.txt | ||
| 401 | +++ b/minimal-examples/client-server/minimal-ws-proxy/CMakeLists.txt | ||
| 402 | @@ -1,5 +1,5 @@ | ||
| 403 | project(lws-minimal-ws-proxy C) | ||
| 404 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 405 | +cmake_minimum_required(VERSION 3.5) | ||
| 406 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 407 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 408 | include(CheckCSourceCompiles) | ||
| 409 | diff --git a/minimal-examples/crypto/minimal-crypto-cose-key/CMakeLists.txt b/minimal-examples/crypto/minimal-crypto-cose-key/CMakeLists.txt | ||
| 410 | index 6ee78ae9..19bdd3ca 100644 | ||
| 411 | --- a/minimal-examples/crypto/minimal-crypto-cose-key/CMakeLists.txt | ||
| 412 | +++ b/minimal-examples/crypto/minimal-crypto-cose-key/CMakeLists.txt | ||
| 413 | @@ -1,5 +1,5 @@ | ||
| 414 | project(lws-crypto-cose-key C) | ||
| 415 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 416 | +cmake_minimum_required(VERSION 3.5) | ||
| 417 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 418 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 419 | include(CheckCSourceCompiles) | ||
| 420 | diff --git a/minimal-examples/crypto/minimal-crypto-cose-sign/CMakeLists.txt b/minimal-examples/crypto/minimal-crypto-cose-sign/CMakeLists.txt | ||
| 421 | index b49b4173..b7a2b8f6 100644 | ||
| 422 | --- a/minimal-examples/crypto/minimal-crypto-cose-sign/CMakeLists.txt | ||
| 423 | +++ b/minimal-examples/crypto/minimal-crypto-cose-sign/CMakeLists.txt | ||
| 424 | @@ -1,5 +1,5 @@ | ||
| 425 | project(lws-crypto-cose-sign C) | ||
| 426 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 427 | +cmake_minimum_required(VERSION 3.5) | ||
| 428 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 429 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 430 | include(CheckCSourceCompiles) | ||
| 431 | diff --git a/minimal-examples/crypto/minimal-crypto-jwe/CMakeLists.txt b/minimal-examples/crypto/minimal-crypto-jwe/CMakeLists.txt | ||
| 432 | index 4896dfc8..e0008648 100644 | ||
| 433 | --- a/minimal-examples/crypto/minimal-crypto-jwe/CMakeLists.txt | ||
| 434 | +++ b/minimal-examples/crypto/minimal-crypto-jwe/CMakeLists.txt | ||
| 435 | @@ -1,5 +1,5 @@ | ||
| 436 | project(lws-crypto-jwe C) | ||
| 437 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 438 | +cmake_minimum_required(VERSION 3.5) | ||
| 439 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 440 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 441 | include(CheckCSourceCompiles) | ||
| 442 | diff --git a/minimal-examples/crypto/minimal-crypto-jwk/CMakeLists.txt b/minimal-examples/crypto/minimal-crypto-jwk/CMakeLists.txt | ||
| 443 | index a5b2d070..65fb7890 100644 | ||
| 444 | --- a/minimal-examples/crypto/minimal-crypto-jwk/CMakeLists.txt | ||
| 445 | +++ b/minimal-examples/crypto/minimal-crypto-jwk/CMakeLists.txt | ||
| 446 | @@ -1,5 +1,5 @@ | ||
| 447 | project(lws-crypto-jwk C) | ||
| 448 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 449 | +cmake_minimum_required(VERSION 3.5) | ||
| 450 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 451 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 452 | include(CheckCSourceCompiles) | ||
| 453 | diff --git a/minimal-examples/crypto/minimal-crypto-jws/CMakeLists.txt b/minimal-examples/crypto/minimal-crypto-jws/CMakeLists.txt | ||
| 454 | index b566fb25..ac2d46fc 100644 | ||
| 455 | --- a/minimal-examples/crypto/minimal-crypto-jws/CMakeLists.txt | ||
| 456 | +++ b/minimal-examples/crypto/minimal-crypto-jws/CMakeLists.txt | ||
| 457 | @@ -1,5 +1,5 @@ | ||
| 458 | project(lws-crypto-jws C) | ||
| 459 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 460 | +cmake_minimum_required(VERSION 3.5) | ||
| 461 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 462 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 463 | include(CheckCSourceCompiles) | ||
| 464 | diff --git a/minimal-examples/crypto/minimal-crypto-x509/CMakeLists.txt b/minimal-examples/crypto/minimal-crypto-x509/CMakeLists.txt | ||
| 465 | index 74d7732e..796b2cd4 100644 | ||
| 466 | --- a/minimal-examples/crypto/minimal-crypto-x509/CMakeLists.txt | ||
| 467 | +++ b/minimal-examples/crypto/minimal-crypto-x509/CMakeLists.txt | ||
| 468 | @@ -1,5 +1,5 @@ | ||
| 469 | project(lws-crypto-x509 C) | ||
| 470 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 471 | +cmake_minimum_required(VERSION 3.5) | ||
| 472 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 473 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 474 | include(CheckCSourceCompiles) | ||
| 475 | diff --git a/minimal-examples/dbus-client/minimal-dbus-client/CMakeLists.txt b/minimal-examples/dbus-client/minimal-dbus-client/CMakeLists.txt | ||
| 476 | index 6496e17c..af79c428 100644 | ||
| 477 | --- a/minimal-examples/dbus-client/minimal-dbus-client/CMakeLists.txt | ||
| 478 | +++ b/minimal-examples/dbus-client/minimal-dbus-client/CMakeLists.txt | ||
| 479 | @@ -1,5 +1,5 @@ | ||
| 480 | project(lws-minimal-dbus-client C) | ||
| 481 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 482 | +cmake_minimum_required(VERSION 3.5) | ||
| 483 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 484 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 485 | include(CheckCSourceCompiles) | ||
| 486 | diff --git a/minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/CMakeLists.txt b/minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/CMakeLists.txt | ||
| 487 | index 5c693982..8cfb6d65 100644 | ||
| 488 | --- a/minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/CMakeLists.txt | ||
| 489 | +++ b/minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/CMakeLists.txt | ||
| 490 | @@ -1,5 +1,5 @@ | ||
| 491 | project(lws-minimal-dbus-ws-proxy-testclient C) | ||
| 492 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 493 | +cmake_minimum_required(VERSION 3.5) | ||
| 494 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 495 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 496 | include(CheckCSourceCompiles) | ||
| 497 | diff --git a/minimal-examples/dbus-server/minimal-dbus-server/CMakeLists.txt b/minimal-examples/dbus-server/minimal-dbus-server/CMakeLists.txt | ||
| 498 | index 0c0b7cf1..f031a7f4 100644 | ||
| 499 | --- a/minimal-examples/dbus-server/minimal-dbus-server/CMakeLists.txt | ||
| 500 | +++ b/minimal-examples/dbus-server/minimal-dbus-server/CMakeLists.txt | ||
| 501 | @@ -1,5 +1,5 @@ | ||
| 502 | project(lws-minimal-dbus-server C) | ||
| 503 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 504 | +cmake_minimum_required(VERSION 3.5) | ||
| 505 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 506 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 507 | include(CheckCSourceCompiles) | ||
| 508 | diff --git a/minimal-examples/dbus-server/minimal-dbus-ws-proxy/CMakeLists.txt b/minimal-examples/dbus-server/minimal-dbus-ws-proxy/CMakeLists.txt | ||
| 509 | index cd699a2d..4d78d3dd 100644 | ||
| 510 | --- a/minimal-examples/dbus-server/minimal-dbus-ws-proxy/CMakeLists.txt | ||
| 511 | +++ b/minimal-examples/dbus-server/minimal-dbus-ws-proxy/CMakeLists.txt | ||
| 512 | @@ -1,5 +1,5 @@ | ||
| 513 | project(lws-minimal-dbus-ws-proxy C) | ||
| 514 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 515 | +cmake_minimum_required(VERSION 3.5) | ||
| 516 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 517 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 518 | include(CheckCSourceCompiles) | ||
| 519 | diff --git a/minimal-examples/gtk/minimal-gtk/CMakeLists.txt b/minimal-examples/gtk/minimal-gtk/CMakeLists.txt | ||
| 520 | index 27587f4a..2a2f4fcd 100644 | ||
| 521 | --- a/minimal-examples/gtk/minimal-gtk/CMakeLists.txt | ||
| 522 | +++ b/minimal-examples/gtk/minimal-gtk/CMakeLists.txt | ||
| 523 | @@ -1,5 +1,5 @@ | ||
| 524 | project(lws-minimal-gtk C) | ||
| 525 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 526 | +cmake_minimum_required(VERSION 3.5) | ||
| 527 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 528 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 529 | include(CheckCSourceCompiles) | ||
| 530 | diff --git a/minimal-examples/http-client/minimal-http-client-attach/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-attach/CMakeLists.txt | ||
| 531 | index 909efca9..c5ba3a59 100644 | ||
| 532 | --- a/minimal-examples/http-client/minimal-http-client-attach/CMakeLists.txt | ||
| 533 | +++ b/minimal-examples/http-client/minimal-http-client-attach/CMakeLists.txt | ||
| 534 | @@ -1,5 +1,5 @@ | ||
| 535 | project(lws-minimal-http-client-attach C) | ||
| 536 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 537 | +cmake_minimum_required(VERSION 3.5) | ||
| 538 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 539 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 540 | include(CheckIncludeFile) | ||
| 541 | diff --git a/minimal-examples/http-client/minimal-http-client-captive-portal/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-captive-portal/CMakeLists.txt | ||
| 542 | index f332dc5b..406ac0df 100644 | ||
| 543 | --- a/minimal-examples/http-client/minimal-http-client-captive-portal/CMakeLists.txt | ||
| 544 | +++ b/minimal-examples/http-client/minimal-http-client-captive-portal/CMakeLists.txt | ||
| 545 | @@ -1,5 +1,5 @@ | ||
| 546 | project(lws-minimal-http-client-captive-portal C) | ||
| 547 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 548 | +cmake_minimum_required(VERSION 3.5) | ||
| 549 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 550 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 551 | include(CheckIncludeFile) | ||
| 552 | diff --git a/minimal-examples/http-client/minimal-http-client-certinfo/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-certinfo/CMakeLists.txt | ||
| 553 | index 07ff4e29..7d113c09 100644 | ||
| 554 | --- a/minimal-examples/http-client/minimal-http-client-certinfo/CMakeLists.txt | ||
| 555 | +++ b/minimal-examples/http-client/minimal-http-client-certinfo/CMakeLists.txt | ||
| 556 | @@ -1,5 +1,5 @@ | ||
| 557 | project(lws-minimal-http-client-certinfo C) | ||
| 558 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 559 | +cmake_minimum_required(VERSION 3.5) | ||
| 560 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 561 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 562 | include(CheckCSourceCompiles) | ||
| 563 | diff --git a/minimal-examples/http-client/minimal-http-client-custom-headers/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-custom-headers/CMakeLists.txt | ||
| 564 | index 0a69c0b1..35720d4a 100644 | ||
| 565 | --- a/minimal-examples/http-client/minimal-http-client-custom-headers/CMakeLists.txt | ||
| 566 | +++ b/minimal-examples/http-client/minimal-http-client-custom-headers/CMakeLists.txt | ||
| 567 | @@ -1,5 +1,5 @@ | ||
| 568 | project(lws-minimal-http-client-custom-headers C) | ||
| 569 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 570 | +cmake_minimum_required(VERSION 3.5) | ||
| 571 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 572 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 573 | include(CheckCSourceCompiles) | ||
| 574 | diff --git a/minimal-examples/http-client/minimal-http-client-h2-rxflow/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-h2-rxflow/CMakeLists.txt | ||
| 575 | index 9a2dc65d..884a0391 100644 | ||
| 576 | --- a/minimal-examples/http-client/minimal-http-client-h2-rxflow/CMakeLists.txt | ||
| 577 | +++ b/minimal-examples/http-client/minimal-http-client-h2-rxflow/CMakeLists.txt | ||
| 578 | @@ -1,5 +1,5 @@ | ||
| 579 | project(lws-minimal-http-client-h2-rxflow C) | ||
| 580 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 581 | +cmake_minimum_required(VERSION 3.5) | ||
| 582 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 583 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 584 | include(CheckCSourceCompiles) | ||
| 585 | diff --git a/minimal-examples/http-client/minimal-http-client-hugeurl/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-hugeurl/CMakeLists.txt | ||
| 586 | index cb42d1fb..8d509a98 100644 | ||
| 587 | --- a/minimal-examples/http-client/minimal-http-client-hugeurl/CMakeLists.txt | ||
| 588 | +++ b/minimal-examples/http-client/minimal-http-client-hugeurl/CMakeLists.txt | ||
| 589 | @@ -1,5 +1,5 @@ | ||
| 590 | project(lws-minimal-http-client-hugeurl C) | ||
| 591 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 592 | +cmake_minimum_required(VERSION 3.5) | ||
| 593 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 594 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 595 | include(CheckCSourceCompiles) | ||
| 596 | diff --git a/minimal-examples/http-client/minimal-http-client-jit-trust/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-jit-trust/CMakeLists.txt | ||
| 597 | index eef5cd8d..7160e510 100644 | ||
| 598 | --- a/minimal-examples/http-client/minimal-http-client-jit-trust/CMakeLists.txt | ||
| 599 | +++ b/minimal-examples/http-client/minimal-http-client-jit-trust/CMakeLists.txt | ||
| 600 | @@ -1,5 +1,5 @@ | ||
| 601 | project(lws-minimal-http-client-jit-trust C) | ||
| 602 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 603 | +cmake_minimum_required(VERSION 3.5) | ||
| 604 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 605 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 606 | include(CheckCSourceCompiles) | ||
| 607 | diff --git a/minimal-examples/http-client/minimal-http-client-multi/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-multi/CMakeLists.txt | ||
| 608 | index 22d138cc..e0d41303 100644 | ||
| 609 | --- a/minimal-examples/http-client/minimal-http-client-multi/CMakeLists.txt | ||
| 610 | +++ b/minimal-examples/http-client/minimal-http-client-multi/CMakeLists.txt | ||
| 611 | @@ -1,5 +1,5 @@ | ||
| 612 | project(lws-minimal-http-client-multi C) | ||
| 613 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 614 | +cmake_minimum_required(VERSION 3.5) | ||
| 615 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 616 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 617 | include(CheckCSourceCompiles) | ||
| 618 | diff --git a/minimal-examples/http-client/minimal-http-client-post/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client-post/CMakeLists.txt | ||
| 619 | index b4e4b74c..08fc5cfd 100644 | ||
| 620 | --- a/minimal-examples/http-client/minimal-http-client-post/CMakeLists.txt | ||
| 621 | +++ b/minimal-examples/http-client/minimal-http-client-post/CMakeLists.txt | ||
| 622 | @@ -1,5 +1,5 @@ | ||
| 623 | project(lws-minimal-http-client-post C) | ||
| 624 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 625 | +cmake_minimum_required(VERSION 3.5) | ||
| 626 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 627 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 628 | include(CheckCSourceCompiles) | ||
| 629 | diff --git a/minimal-examples/http-client/minimal-http-client/CMakeLists.txt b/minimal-examples/http-client/minimal-http-client/CMakeLists.txt | ||
| 630 | index 8c42ae9f..ee34f9e0 100644 | ||
| 631 | --- a/minimal-examples/http-client/minimal-http-client/CMakeLists.txt | ||
| 632 | +++ b/minimal-examples/http-client/minimal-http-client/CMakeLists.txt | ||
| 633 | @@ -1,5 +1,5 @@ | ||
| 634 | project(lws-minimal-http-client C) | ||
| 635 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 636 | +cmake_minimum_required(VERSION 3.5) | ||
| 637 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 638 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 639 | include(CheckCSourceCompiles) | ||
| 640 | diff --git a/minimal-examples/http-server/minimal-http-server-basicauth/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-basicauth/CMakeLists.txt | ||
| 641 | index ac5e2788..8ebe8b68 100644 | ||
| 642 | --- a/minimal-examples/http-server/minimal-http-server-basicauth/CMakeLists.txt | ||
| 643 | +++ b/minimal-examples/http-server/minimal-http-server-basicauth/CMakeLists.txt | ||
| 644 | @@ -1,5 +1,5 @@ | ||
| 645 | project(lws-minimal-http-server-basicauth C) | ||
| 646 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 647 | +cmake_minimum_required(VERSION 3.5) | ||
| 648 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 649 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 650 | include(CheckCSourceCompiles) | ||
| 651 | diff --git a/minimal-examples/http-server/minimal-http-server-cgi/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-cgi/CMakeLists.txt | ||
| 652 | index 18ef350a..7d5b781e 100644 | ||
| 653 | --- a/minimal-examples/http-server/minimal-http-server-cgi/CMakeLists.txt | ||
| 654 | +++ b/minimal-examples/http-server/minimal-http-server-cgi/CMakeLists.txt | ||
| 655 | @@ -1,5 +1,5 @@ | ||
| 656 | project(lws-minimal-http-server-cgi C) | ||
| 657 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 658 | +cmake_minimum_required(VERSION 3.5) | ||
| 659 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 660 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 661 | include(CheckCSourceCompiles) | ||
| 662 | diff --git a/minimal-examples/http-server/minimal-http-server-custom-headers/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-custom-headers/CMakeLists.txt | ||
| 663 | index f113424b..a25d6346 100644 | ||
| 664 | --- a/minimal-examples/http-server/minimal-http-server-custom-headers/CMakeLists.txt | ||
| 665 | +++ b/minimal-examples/http-server/minimal-http-server-custom-headers/CMakeLists.txt | ||
| 666 | @@ -1,5 +1,5 @@ | ||
| 667 | project(lws-minimal-http-server-custom-headers C) | ||
| 668 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 669 | +cmake_minimum_required(VERSION 3.5) | ||
| 670 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 671 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 672 | include(CheckCSourceCompiles) | ||
| 673 | diff --git a/minimal-examples/http-server/minimal-http-server-deaddrop/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-deaddrop/CMakeLists.txt | ||
| 674 | index fee8fbc4..3494c8f1 100644 | ||
| 675 | --- a/minimal-examples/http-server/minimal-http-server-deaddrop/CMakeLists.txt | ||
| 676 | +++ b/minimal-examples/http-server/minimal-http-server-deaddrop/CMakeLists.txt | ||
| 677 | @@ -1,5 +1,5 @@ | ||
| 678 | project(lws-minimal-http-server-deaddrop C) | ||
| 679 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 680 | +cmake_minimum_required(VERSION 3.5) | ||
| 681 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 682 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 683 | include(CheckCSourceCompiles) | ||
| 684 | diff --git a/minimal-examples/http-server/minimal-http-server-dynamic/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-dynamic/CMakeLists.txt | ||
| 685 | index e8affdb8..f7b2993a 100644 | ||
| 686 | --- a/minimal-examples/http-server/minimal-http-server-dynamic/CMakeLists.txt | ||
| 687 | +++ b/minimal-examples/http-server/minimal-http-server-dynamic/CMakeLists.txt | ||
| 688 | @@ -1,5 +1,5 @@ | ||
| 689 | project(lws-minimal-http-server-dynamic C) | ||
| 690 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 691 | +cmake_minimum_required(VERSION 3.5) | ||
| 692 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 693 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 694 | include(CheckCSourceCompiles) | ||
| 695 | diff --git a/minimal-examples/http-server/minimal-http-server-eventlib-custom/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-eventlib-custom/CMakeLists.txt | ||
| 696 | index 5f023f96..9ae570aa 100644 | ||
| 697 | --- a/minimal-examples/http-server/minimal-http-server-eventlib-custom/CMakeLists.txt | ||
| 698 | +++ b/minimal-examples/http-server/minimal-http-server-eventlib-custom/CMakeLists.txt | ||
| 699 | @@ -1,5 +1,5 @@ | ||
| 700 | project(lws-minimal-http-server-eventlib-custom C) | ||
| 701 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 702 | +cmake_minimum_required(VERSION 3.5) | ||
| 703 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 704 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 705 | include(CheckCSourceCompiles) | ||
| 706 | diff --git a/minimal-examples/http-server/minimal-http-server-eventlib-demos/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-eventlib-demos/CMakeLists.txt | ||
| 707 | index 6fe05486..2f0fdfed 100644 | ||
| 708 | --- a/minimal-examples/http-server/minimal-http-server-eventlib-demos/CMakeLists.txt | ||
| 709 | +++ b/minimal-examples/http-server/minimal-http-server-eventlib-demos/CMakeLists.txt | ||
| 710 | @@ -1,5 +1,5 @@ | ||
| 711 | project(lws-minimal-http-server-eventlib-demos C) | ||
| 712 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 713 | +cmake_minimum_required(VERSION 3.5) | ||
| 714 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 715 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 716 | include(CheckCSourceCompiles) | ||
| 717 | diff --git a/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt | ||
| 718 | index fc22523e..19049c9f 100644 | ||
| 719 | --- a/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt | ||
| 720 | +++ b/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt | ||
| 721 | @@ -1,5 +1,5 @@ | ||
| 722 | project(lws-minimal-http-server-eventlib-foreign C) | ||
| 723 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 724 | +cmake_minimum_required(VERSION 3.5) | ||
| 725 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 726 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 727 | include(CheckIncludeFile) | ||
| 728 | diff --git a/minimal-examples/http-server/minimal-http-server-eventlib-smp/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-eventlib-smp/CMakeLists.txt | ||
| 729 | index 087202d0..4ac46e2c 100644 | ||
| 730 | --- a/minimal-examples/http-server/minimal-http-server-eventlib-smp/CMakeLists.txt | ||
| 731 | +++ b/minimal-examples/http-server/minimal-http-server-eventlib-smp/CMakeLists.txt | ||
| 732 | @@ -1,5 +1,5 @@ | ||
| 733 | project(lws-minimal-http-server-eventlib-smp C) | ||
| 734 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 735 | +cmake_minimum_required(VERSION 3.5) | ||
| 736 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 737 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 738 | include(CheckIncludeFile) | ||
| 739 | diff --git a/minimal-examples/http-server/minimal-http-server-eventlib/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-eventlib/CMakeLists.txt | ||
| 740 | index 57badf3d..d158dcfb 100644 | ||
| 741 | --- a/minimal-examples/http-server/minimal-http-server-eventlib/CMakeLists.txt | ||
| 742 | +++ b/minimal-examples/http-server/minimal-http-server-eventlib/CMakeLists.txt | ||
| 743 | @@ -1,5 +1,5 @@ | ||
| 744 | project(lws-minimal-http-server-eventlib C) | ||
| 745 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 746 | +cmake_minimum_required(VERSION 3.5) | ||
| 747 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 748 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 749 | include(CheckCSourceCompiles) | ||
| 750 | diff --git a/minimal-examples/http-server/minimal-http-server-form-get/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-form-get/CMakeLists.txt | ||
| 751 | index 0ef0f3cf..6f8b00b5 100644 | ||
| 752 | --- a/minimal-examples/http-server/minimal-http-server-form-get/CMakeLists.txt | ||
| 753 | +++ b/minimal-examples/http-server/minimal-http-server-form-get/CMakeLists.txt | ||
| 754 | @@ -1,5 +1,5 @@ | ||
| 755 | project(lws-minimal-http-server-form-get C) | ||
| 756 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 757 | +cmake_minimum_required(VERSION 3.5) | ||
| 758 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 759 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 760 | include(CheckCSourceCompiles) | ||
| 761 | diff --git a/minimal-examples/http-server/minimal-http-server-form-post-file/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-form-post-file/CMakeLists.txt | ||
| 762 | index f1b5c36d..50b96ed5 100644 | ||
| 763 | --- a/minimal-examples/http-server/minimal-http-server-form-post-file/CMakeLists.txt | ||
| 764 | +++ b/minimal-examples/http-server/minimal-http-server-form-post-file/CMakeLists.txt | ||
| 765 | @@ -1,5 +1,5 @@ | ||
| 766 | project(lws-minimal-http-server-form-post-file C) | ||
| 767 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 768 | +cmake_minimum_required(VERSION 3.5) | ||
| 769 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 770 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 771 | include(CheckCSourceCompiles) | ||
| 772 | diff --git a/minimal-examples/http-server/minimal-http-server-form-post-lwsac/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-form-post-lwsac/CMakeLists.txt | ||
| 773 | index c7e0a113..c91ea646 100644 | ||
| 774 | --- a/minimal-examples/http-server/minimal-http-server-form-post-lwsac/CMakeLists.txt | ||
| 775 | +++ b/minimal-examples/http-server/minimal-http-server-form-post-lwsac/CMakeLists.txt | ||
| 776 | @@ -1,5 +1,5 @@ | ||
| 777 | project(lws-minimal-http-server-form-post-lwsac C) | ||
| 778 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 779 | +cmake_minimum_required(VERSION 3.5) | ||
| 780 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 781 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 782 | include(CheckCSourceCompiles) | ||
| 783 | diff --git a/minimal-examples/http-server/minimal-http-server-form-post/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-form-post/CMakeLists.txt | ||
| 784 | index ac3e4ffa..72b9f0b4 100644 | ||
| 785 | --- a/minimal-examples/http-server/minimal-http-server-form-post/CMakeLists.txt | ||
| 786 | +++ b/minimal-examples/http-server/minimal-http-server-form-post/CMakeLists.txt | ||
| 787 | @@ -1,5 +1,5 @@ | ||
| 788 | project(lws-minimal-http-server-form-post C) | ||
| 789 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 790 | +cmake_minimum_required(VERSION 3.5) | ||
| 791 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 792 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 793 | include(CheckCSourceCompiles) | ||
| 794 | diff --git a/minimal-examples/http-server/minimal-http-server-fulltext-search/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-fulltext-search/CMakeLists.txt | ||
| 795 | index 160e054a..40c9b217 100644 | ||
| 796 | --- a/minimal-examples/http-server/minimal-http-server-fulltext-search/CMakeLists.txt | ||
| 797 | +++ b/minimal-examples/http-server/minimal-http-server-fulltext-search/CMakeLists.txt | ||
| 798 | @@ -1,5 +1,5 @@ | ||
| 799 | project(lws-minimal-http-server-fulltext-search C) | ||
| 800 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 801 | +cmake_minimum_required(VERSION 3.5) | ||
| 802 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 803 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 804 | include(CheckCSourceCompiles) | ||
| 805 | diff --git a/minimal-examples/http-server/minimal-http-server-h2-long-poll/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-h2-long-poll/CMakeLists.txt | ||
| 806 | index 2cabcc31..89e20e81 100644 | ||
| 807 | --- a/minimal-examples/http-server/minimal-http-server-h2-long-poll/CMakeLists.txt | ||
| 808 | +++ b/minimal-examples/http-server/minimal-http-server-h2-long-poll/CMakeLists.txt | ||
| 809 | @@ -1,5 +1,5 @@ | ||
| 810 | project(lws-minimal-http-server-h2-long-poll C) | ||
| 811 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 812 | +cmake_minimum_required(VERSION 3.5) | ||
| 813 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 814 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 815 | include(CheckCSourceCompiles) | ||
| 816 | diff --git a/minimal-examples/http-server/minimal-http-server-mimetypes/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-mimetypes/CMakeLists.txt | ||
| 817 | index c0e9328a..5dd7e2c7 100644 | ||
| 818 | --- a/minimal-examples/http-server/minimal-http-server-mimetypes/CMakeLists.txt | ||
| 819 | +++ b/minimal-examples/http-server/minimal-http-server-mimetypes/CMakeLists.txt | ||
| 820 | @@ -1,5 +1,5 @@ | ||
| 821 | project(lws-minimal-http-server-mimetypes C) | ||
| 822 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 823 | +cmake_minimum_required(VERSION 3.5) | ||
| 824 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 825 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 826 | include(CheckCSourceCompiles) | ||
| 827 | diff --git a/minimal-examples/http-server/minimal-http-server-multivhost/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-multivhost/CMakeLists.txt | ||
| 828 | index c4c5c456..ba06cefc 100644 | ||
| 829 | --- a/minimal-examples/http-server/minimal-http-server-multivhost/CMakeLists.txt | ||
| 830 | +++ b/minimal-examples/http-server/minimal-http-server-multivhost/CMakeLists.txt | ||
| 831 | @@ -1,5 +1,5 @@ | ||
| 832 | project(lws-minimal-http-server-multivhost C) | ||
| 833 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 834 | +cmake_minimum_required(VERSION 3.5) | ||
| 835 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 836 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 837 | include(CheckCSourceCompiles) | ||
| 838 | diff --git a/minimal-examples/http-server/minimal-http-server-proxy/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-proxy/CMakeLists.txt | ||
| 839 | index 59c53a32..7454bb56 100644 | ||
| 840 | --- a/minimal-examples/http-server/minimal-http-server-proxy/CMakeLists.txt | ||
| 841 | +++ b/minimal-examples/http-server/minimal-http-server-proxy/CMakeLists.txt | ||
| 842 | @@ -1,5 +1,5 @@ | ||
| 843 | project(lws-minimal-http-server-proxy C) | ||
| 844 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 845 | +cmake_minimum_required(VERSION 3.5) | ||
| 846 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 847 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 848 | include(CheckCSourceCompiles) | ||
| 849 | diff --git a/minimal-examples/http-server/minimal-http-server-smp/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-smp/CMakeLists.txt | ||
| 850 | index 3f6a91dc..3047a335 100644 | ||
| 851 | --- a/minimal-examples/http-server/minimal-http-server-smp/CMakeLists.txt | ||
| 852 | +++ b/minimal-examples/http-server/minimal-http-server-smp/CMakeLists.txt | ||
| 853 | @@ -1,5 +1,5 @@ | ||
| 854 | project(lws-minimal-http-server-smp C) | ||
| 855 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 856 | +cmake_minimum_required(VERSION 3.5) | ||
| 857 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 858 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 859 | include(CheckIncludeFile) | ||
| 860 | diff --git a/minimal-examples/http-server/minimal-http-server-sse-ring/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-sse-ring/CMakeLists.txt | ||
| 861 | index e5e2e7be..4ee1bee9 100644 | ||
| 862 | --- a/minimal-examples/http-server/minimal-http-server-sse-ring/CMakeLists.txt | ||
| 863 | +++ b/minimal-examples/http-server/minimal-http-server-sse-ring/CMakeLists.txt | ||
| 864 | @@ -1,5 +1,5 @@ | ||
| 865 | project(lws-minimal-http-server-sse-ring C) | ||
| 866 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 867 | +cmake_minimum_required(VERSION 3.5) | ||
| 868 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 869 | include(CheckIncludeFile) | ||
| 870 | include(CheckCSourceCompiles) | ||
| 871 | diff --git a/minimal-examples/http-server/minimal-http-server-sse/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-sse/CMakeLists.txt | ||
| 872 | index 116052d1..e90b4586 100644 | ||
| 873 | --- a/minimal-examples/http-server/minimal-http-server-sse/CMakeLists.txt | ||
| 874 | +++ b/minimal-examples/http-server/minimal-http-server-sse/CMakeLists.txt | ||
| 875 | @@ -1,5 +1,5 @@ | ||
| 876 | project(lws-minimal-http-server-sse C) | ||
| 877 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 878 | +cmake_minimum_required(VERSION 3.5) | ||
| 879 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 880 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 881 | include(CheckCSourceCompiles) | ||
| 882 | diff --git a/minimal-examples/http-server/minimal-http-server-tls-80/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-tls-80/CMakeLists.txt | ||
| 883 | index 46ac74c8..26f56309 100644 | ||
| 884 | --- a/minimal-examples/http-server/minimal-http-server-tls-80/CMakeLists.txt | ||
| 885 | +++ b/minimal-examples/http-server/minimal-http-server-tls-80/CMakeLists.txt | ||
| 886 | @@ -1,5 +1,5 @@ | ||
| 887 | project(lws-minimal-http-server-tls-80 C) | ||
| 888 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 889 | +cmake_minimum_required(VERSION 3.5) | ||
| 890 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 891 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 892 | include(CheckCSourceCompiles) | ||
| 893 | diff --git a/minimal-examples/http-server/minimal-http-server-tls-mem/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-tls-mem/CMakeLists.txt | ||
| 894 | index 1f8f63f6..57ae85b8 100644 | ||
| 895 | --- a/minimal-examples/http-server/minimal-http-server-tls-mem/CMakeLists.txt | ||
| 896 | +++ b/minimal-examples/http-server/minimal-http-server-tls-mem/CMakeLists.txt | ||
| 897 | @@ -1,5 +1,5 @@ | ||
| 898 | project(lws-minimal-http-server-tls-mem C) | ||
| 899 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 900 | +cmake_minimum_required(VERSION 3.5) | ||
| 901 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 902 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 903 | include(CheckCSourceCompiles) | ||
| 904 | diff --git a/minimal-examples/http-server/minimal-http-server-tls/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server-tls/CMakeLists.txt | ||
| 905 | index 9e771b35..89a3f1c2 100644 | ||
| 906 | --- a/minimal-examples/http-server/minimal-http-server-tls/CMakeLists.txt | ||
| 907 | +++ b/minimal-examples/http-server/minimal-http-server-tls/CMakeLists.txt | ||
| 908 | @@ -1,5 +1,5 @@ | ||
| 909 | project(lws-minimal-http-server-tls C) | ||
| 910 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 911 | +cmake_minimum_required(VERSION 3.5) | ||
| 912 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 913 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 914 | include(CheckCSourceCompiles) | ||
| 915 | diff --git a/minimal-examples/http-server/minimal-http-server/CMakeLists.txt b/minimal-examples/http-server/minimal-http-server/CMakeLists.txt | ||
| 916 | index b1df7af0..22f767d8 100644 | ||
| 917 | --- a/minimal-examples/http-server/minimal-http-server/CMakeLists.txt | ||
| 918 | +++ b/minimal-examples/http-server/minimal-http-server/CMakeLists.txt | ||
| 919 | @@ -1,5 +1,5 @@ | ||
| 920 | project(lws-minimal-http-server C) | ||
| 921 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 922 | +cmake_minimum_required(VERSION 3.5) | ||
| 923 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 924 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 925 | include(CheckCSourceCompiles) | ||
| 926 | diff --git a/minimal-examples/mqtt-client/minimal-mqtt-client-multi/CMakeLists.txt b/minimal-examples/mqtt-client/minimal-mqtt-client-multi/CMakeLists.txt | ||
| 927 | index bb03aae4..f7773a39 100644 | ||
| 928 | --- a/minimal-examples/mqtt-client/minimal-mqtt-client-multi/CMakeLists.txt | ||
| 929 | +++ b/minimal-examples/mqtt-client/minimal-mqtt-client-multi/CMakeLists.txt | ||
| 930 | @@ -1,5 +1,5 @@ | ||
| 931 | project(lws-minimal-mqtt-client-multi C) | ||
| 932 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 933 | +cmake_minimum_required(VERSION 3.5) | ||
| 934 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 935 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 936 | include(CheckCSourceCompiles) | ||
| 937 | diff --git a/minimal-examples/mqtt-client/minimal-mqtt-client/CMakeLists.txt b/minimal-examples/mqtt-client/minimal-mqtt-client/CMakeLists.txt | ||
| 938 | index 1b688c70..1de2b804 100644 | ||
| 939 | --- a/minimal-examples/mqtt-client/minimal-mqtt-client/CMakeLists.txt | ||
| 940 | +++ b/minimal-examples/mqtt-client/minimal-mqtt-client/CMakeLists.txt | ||
| 941 | @@ -1,5 +1,5 @@ | ||
| 942 | project(lws-minimal-mqtt-client C) | ||
| 943 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 944 | +cmake_minimum_required(VERSION 3.5) | ||
| 945 | include(CheckCSourceCompiles) | ||
| 946 | include(LwsCheckRequirements) | ||
| 947 | |||
| 948 | diff --git a/minimal-examples/raw/minimal-raw-adopt-tcp/CMakeLists.txt b/minimal-examples/raw/minimal-raw-adopt-tcp/CMakeLists.txt | ||
| 949 | index ec79159f..74ebb6af 100644 | ||
| 950 | --- a/minimal-examples/raw/minimal-raw-adopt-tcp/CMakeLists.txt | ||
| 951 | +++ b/minimal-examples/raw/minimal-raw-adopt-tcp/CMakeLists.txt | ||
| 952 | @@ -1,5 +1,5 @@ | ||
| 953 | project(lws-minimal-raw-adopt-tcp C) | ||
| 954 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 955 | +cmake_minimum_required(VERSION 3.5) | ||
| 956 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 957 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 958 | include(CheckCSourceCompiles) | ||
| 959 | diff --git a/minimal-examples/raw/minimal-raw-adopt-udp/CMakeLists.txt b/minimal-examples/raw/minimal-raw-adopt-udp/CMakeLists.txt | ||
| 960 | index 84f8cd4d..9d319478 100644 | ||
| 961 | --- a/minimal-examples/raw/minimal-raw-adopt-udp/CMakeLists.txt | ||
| 962 | +++ b/minimal-examples/raw/minimal-raw-adopt-udp/CMakeLists.txt | ||
| 963 | @@ -1,5 +1,5 @@ | ||
| 964 | project(lws-minimal-raw-adopt-udp C) | ||
| 965 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 966 | +cmake_minimum_required(VERSION 3.5) | ||
| 967 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 968 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 969 | include(CheckCSourceCompiles) | ||
| 970 | diff --git a/minimal-examples/raw/minimal-raw-audio/CMakeLists.txt b/minimal-examples/raw/minimal-raw-audio/CMakeLists.txt | ||
| 971 | index 21361e79..86fffc9e 100644 | ||
| 972 | --- a/minimal-examples/raw/minimal-raw-audio/CMakeLists.txt | ||
| 973 | +++ b/minimal-examples/raw/minimal-raw-audio/CMakeLists.txt | ||
| 974 | @@ -1,5 +1,5 @@ | ||
| 975 | project(lws-minimal-raw-audio C) | ||
| 976 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 977 | +cmake_minimum_required(VERSION 3.5) | ||
| 978 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 979 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 980 | include(CheckCSourceCompiles) | ||
| 981 | diff --git a/minimal-examples/raw/minimal-raw-fallback-http-server/CMakeLists.txt b/minimal-examples/raw/minimal-raw-fallback-http-server/CMakeLists.txt | ||
| 982 | index c52810ab..8e8ac1bb 100644 | ||
| 983 | --- a/minimal-examples/raw/minimal-raw-fallback-http-server/CMakeLists.txt | ||
| 984 | +++ b/minimal-examples/raw/minimal-raw-fallback-http-server/CMakeLists.txt | ||
| 985 | @@ -1,5 +1,5 @@ | ||
| 986 | project(lws-minimal-raw-fallback-http-server C) | ||
| 987 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 988 | +cmake_minimum_required(VERSION 3.5) | ||
| 989 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 990 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 991 | include(CheckCSourceCompiles) | ||
| 992 | diff --git a/minimal-examples/raw/minimal-raw-file/CMakeLists.txt b/minimal-examples/raw/minimal-raw-file/CMakeLists.txt | ||
| 993 | index 986dc067..8b33aef9 100644 | ||
| 994 | --- a/minimal-examples/raw/minimal-raw-file/CMakeLists.txt | ||
| 995 | +++ b/minimal-examples/raw/minimal-raw-file/CMakeLists.txt | ||
| 996 | @@ -1,5 +1,5 @@ | ||
| 997 | project(lws-minimal-raw-file C) | ||
| 998 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 999 | +cmake_minimum_required(VERSION 3.5) | ||
| 1000 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1001 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1002 | include(CheckCSourceCompiles) | ||
| 1003 | diff --git a/minimal-examples/raw/minimal-raw-netcat/CMakeLists.txt b/minimal-examples/raw/minimal-raw-netcat/CMakeLists.txt | ||
| 1004 | index 4e4b2bab..38dec776 100644 | ||
| 1005 | --- a/minimal-examples/raw/minimal-raw-netcat/CMakeLists.txt | ||
| 1006 | +++ b/minimal-examples/raw/minimal-raw-netcat/CMakeLists.txt | ||
| 1007 | @@ -1,5 +1,5 @@ | ||
| 1008 | project(lws-minimal-raw-netcat C) | ||
| 1009 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1010 | +cmake_minimum_required(VERSION 3.5) | ||
| 1011 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1012 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1013 | include(CheckCSourceCompiles) | ||
| 1014 | diff --git a/minimal-examples/raw/minimal-raw-proxy-fallback/CMakeLists.txt b/minimal-examples/raw/minimal-raw-proxy-fallback/CMakeLists.txt | ||
| 1015 | index bd08cd4f..7c65bf09 100644 | ||
| 1016 | --- a/minimal-examples/raw/minimal-raw-proxy-fallback/CMakeLists.txt | ||
| 1017 | +++ b/minimal-examples/raw/minimal-raw-proxy-fallback/CMakeLists.txt | ||
| 1018 | @@ -1,5 +1,5 @@ | ||
| 1019 | project(lws-minimal-raw-proxy-fallback C) | ||
| 1020 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1021 | +cmake_minimum_required(VERSION 3.5) | ||
| 1022 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1023 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1024 | include(CheckCSourceCompiles) | ||
| 1025 | diff --git a/minimal-examples/raw/minimal-raw-proxy/CMakeLists.txt b/minimal-examples/raw/minimal-raw-proxy/CMakeLists.txt | ||
| 1026 | index 75fb8f9c..2c03355c 100644 | ||
| 1027 | --- a/minimal-examples/raw/minimal-raw-proxy/CMakeLists.txt | ||
| 1028 | +++ b/minimal-examples/raw/minimal-raw-proxy/CMakeLists.txt | ||
| 1029 | @@ -1,5 +1,5 @@ | ||
| 1030 | project(lws-minimal-raw-proxy C) | ||
| 1031 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1032 | +cmake_minimum_required(VERSION 3.5) | ||
| 1033 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1034 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1035 | include(CheckCSourceCompiles) | ||
| 1036 | diff --git a/minimal-examples/raw/minimal-raw-serial/CMakeLists.txt b/minimal-examples/raw/minimal-raw-serial/CMakeLists.txt | ||
| 1037 | index 5dfae02e..177ee1f0 100644 | ||
| 1038 | --- a/minimal-examples/raw/minimal-raw-serial/CMakeLists.txt | ||
| 1039 | +++ b/minimal-examples/raw/minimal-raw-serial/CMakeLists.txt | ||
| 1040 | @@ -1,5 +1,5 @@ | ||
| 1041 | project(lws-minimal-raw-serial C) | ||
| 1042 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1043 | +cmake_minimum_required(VERSION 3.5) | ||
| 1044 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1045 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1046 | include(CheckCSourceCompiles) | ||
| 1047 | diff --git a/minimal-examples/raw/minimal-raw-vhost/CMakeLists.txt b/minimal-examples/raw/minimal-raw-vhost/CMakeLists.txt | ||
| 1048 | index 4e578df4..d7560843 100644 | ||
| 1049 | --- a/minimal-examples/raw/minimal-raw-vhost/CMakeLists.txt | ||
| 1050 | +++ b/minimal-examples/raw/minimal-raw-vhost/CMakeLists.txt | ||
| 1051 | @@ -1,5 +1,5 @@ | ||
| 1052 | project(lws-minimal-raw-vhost C) | ||
| 1053 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1054 | +cmake_minimum_required(VERSION 3.5) | ||
| 1055 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1056 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1057 | include(CheckCSourceCompiles) | ||
| 1058 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-alexa/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-alexa/CMakeLists.txt | ||
| 1059 | index 5400c249..a8d50aac 100644 | ||
| 1060 | --- a/minimal-examples/secure-streams/minimal-secure-streams-alexa/CMakeLists.txt | ||
| 1061 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-alexa/CMakeLists.txt | ||
| 1062 | @@ -1,5 +1,5 @@ | ||
| 1063 | project(lws-minimal-secure-streams-alexa C) | ||
| 1064 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1065 | +cmake_minimum_required(VERSION 3.5) | ||
| 1066 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1067 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1068 | include(CheckCSourceCompiles) | ||
| 1069 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-avs/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-avs/CMakeLists.txt | ||
| 1070 | index 1ec1318f..a7f80f05 100644 | ||
| 1071 | --- a/minimal-examples/secure-streams/minimal-secure-streams-avs/CMakeLists.txt | ||
| 1072 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-avs/CMakeLists.txt | ||
| 1073 | @@ -1,5 +1,5 @@ | ||
| 1074 | project(lws-minimal-secure-streams-avs C) | ||
| 1075 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1076 | +cmake_minimum_required(VERSION 3.5) | ||
| 1077 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1078 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1079 | include(CheckCSourceCompiles) | ||
| 1080 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-binance/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-binance/CMakeLists.txt | ||
| 1081 | index e1f36476..f956c0ff 100644 | ||
| 1082 | --- a/minimal-examples/secure-streams/minimal-secure-streams-binance/CMakeLists.txt | ||
| 1083 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-binance/CMakeLists.txt | ||
| 1084 | @@ -1,5 +1,5 @@ | ||
| 1085 | project(lws-minimal-secure-streams-binance C) | ||
| 1086 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1087 | +cmake_minimum_required(VERSION 3.5) | ||
| 1088 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1089 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1090 | include(CheckIncludeFile) | ||
| 1091 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-blob/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-blob/CMakeLists.txt | ||
| 1092 | index 7fc59dae..7727056d 100644 | ||
| 1093 | --- a/minimal-examples/secure-streams/minimal-secure-streams-blob/CMakeLists.txt | ||
| 1094 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-blob/CMakeLists.txt | ||
| 1095 | @@ -1,5 +1,5 @@ | ||
| 1096 | project(lws-minimal-secure-streams-blob C) | ||
| 1097 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1098 | +cmake_minimum_required(VERSION 3.5) | ||
| 1099 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1100 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1101 | include(CheckCSourceCompiles) | ||
| 1102 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-client-tx/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-client-tx/CMakeLists.txt | ||
| 1103 | index 1a943b93..bc1867c7 100644 | ||
| 1104 | --- a/minimal-examples/secure-streams/minimal-secure-streams-client-tx/CMakeLists.txt | ||
| 1105 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-client-tx/CMakeLists.txt | ||
| 1106 | @@ -1,5 +1,5 @@ | ||
| 1107 | project(lws-minimal-secure-streams-client-tx C) | ||
| 1108 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1109 | +cmake_minimum_required(VERSION 3.5) | ||
| 1110 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1111 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1112 | include(CheckCSourceCompiles) | ||
| 1113 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-cpp/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-cpp/CMakeLists.txt | ||
| 1114 | index 1f26c572..70701a2d 100644 | ||
| 1115 | --- a/minimal-examples/secure-streams/minimal-secure-streams-cpp/CMakeLists.txt | ||
| 1116 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-cpp/CMakeLists.txt | ||
| 1117 | @@ -1,5 +1,5 @@ | ||
| 1118 | project(lws-minimal-secure-streams-cpp CXX) | ||
| 1119 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1120 | +cmake_minimum_required(VERSION 3.5) | ||
| 1121 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1122 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1123 | include(CheckCSourceCompiles) | ||
| 1124 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/CMakeLists.txt | ||
| 1125 | index e0ac200c..e778c7d8 100644 | ||
| 1126 | --- a/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/CMakeLists.txt | ||
| 1127 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/CMakeLists.txt | ||
| 1128 | @@ -1,5 +1,5 @@ | ||
| 1129 | project(lws-minimal-secure-streams-hugeurl C) | ||
| 1130 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1131 | +cmake_minimum_required(VERSION 3.5) | ||
| 1132 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1133 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1134 | include(CheckCSourceCompiles) | ||
| 1135 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-metadata/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-metadata/CMakeLists.txt | ||
| 1136 | index 67c946a8..ff34313e 100644 | ||
| 1137 | --- a/minimal-examples/secure-streams/minimal-secure-streams-metadata/CMakeLists.txt | ||
| 1138 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-metadata/CMakeLists.txt | ||
| 1139 | @@ -1,5 +1,5 @@ | ||
| 1140 | project(lws-minimal-secure-streams-metadata C) | ||
| 1141 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1142 | +cmake_minimum_required(VERSION 3.5) | ||
| 1143 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1144 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1145 | include(CheckCSourceCompiles) | ||
| 1146 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-perf/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-perf/CMakeLists.txt | ||
| 1147 | index c0beb268..7368b086 100644 | ||
| 1148 | --- a/minimal-examples/secure-streams/minimal-secure-streams-perf/CMakeLists.txt | ||
| 1149 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-perf/CMakeLists.txt | ||
| 1150 | @@ -1,5 +1,5 @@ | ||
| 1151 | project(lws-minimal-secure-streams-perf C) | ||
| 1152 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1153 | +cmake_minimum_required(VERSION 3.5) | ||
| 1154 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1155 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1156 | include(CheckCSourceCompiles) | ||
| 1157 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-policy2c/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-policy2c/CMakeLists.txt | ||
| 1158 | index f8272f30..cc419f7e 100644 | ||
| 1159 | --- a/minimal-examples/secure-streams/minimal-secure-streams-policy2c/CMakeLists.txt | ||
| 1160 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-policy2c/CMakeLists.txt | ||
| 1161 | @@ -1,5 +1,5 @@ | ||
| 1162 | project(lws-minimal-secure-streams-policy2c C) | ||
| 1163 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1164 | +cmake_minimum_required(VERSION 3.5) | ||
| 1165 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1166 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1167 | include(CheckCSourceCompiles) | ||
| 1168 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-post/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-post/CMakeLists.txt | ||
| 1169 | index ea23d849..9184bb29 100644 | ||
| 1170 | --- a/minimal-examples/secure-streams/minimal-secure-streams-post/CMakeLists.txt | ||
| 1171 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-post/CMakeLists.txt | ||
| 1172 | @@ -1,5 +1,5 @@ | ||
| 1173 | project(lws-minimal-secure-streams-post C) | ||
| 1174 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1175 | +cmake_minimum_required(VERSION 3.5) | ||
| 1176 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1177 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1178 | include(CheckCSourceCompiles) | ||
| 1179 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-proxy/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-proxy/CMakeLists.txt | ||
| 1180 | index 0d0f5488..9db1ec04 100644 | ||
| 1181 | --- a/minimal-examples/secure-streams/minimal-secure-streams-proxy/CMakeLists.txt | ||
| 1182 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-proxy/CMakeLists.txt | ||
| 1183 | @@ -1,5 +1,5 @@ | ||
| 1184 | project(lws-minimal-secure-streams-proxy C) | ||
| 1185 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1186 | +cmake_minimum_required(VERSION 3.5) | ||
| 1187 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1188 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1189 | include(CheckCSourceCompiles) | ||
| 1190 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-seq/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-seq/CMakeLists.txt | ||
| 1191 | index 47317ba8..4dadb469 100644 | ||
| 1192 | --- a/minimal-examples/secure-streams/minimal-secure-streams-seq/CMakeLists.txt | ||
| 1193 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-seq/CMakeLists.txt | ||
| 1194 | @@ -1,5 +1,5 @@ | ||
| 1195 | project(lws-minimal-secure-streams-seq C) | ||
| 1196 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1197 | +cmake_minimum_required(VERSION 3.5) | ||
| 1198 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1199 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1200 | include(CheckCSourceCompiles) | ||
| 1201 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-server-raw/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-server-raw/CMakeLists.txt | ||
| 1202 | index 205f5028..1980f1c1 100644 | ||
| 1203 | --- a/minimal-examples/secure-streams/minimal-secure-streams-server-raw/CMakeLists.txt | ||
| 1204 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-server-raw/CMakeLists.txt | ||
| 1205 | @@ -1,5 +1,5 @@ | ||
| 1206 | project(lws-minimal-secure-streams-server-raw C) | ||
| 1207 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1208 | +cmake_minimum_required(VERSION 3.5) | ||
| 1209 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1210 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1211 | include(CheckCSourceCompiles) | ||
| 1212 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-server/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-server/CMakeLists.txt | ||
| 1213 | index 19dff5af..1f4f0403 100644 | ||
| 1214 | --- a/minimal-examples/secure-streams/minimal-secure-streams-server/CMakeLists.txt | ||
| 1215 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-server/CMakeLists.txt | ||
| 1216 | @@ -1,5 +1,5 @@ | ||
| 1217 | project(lws-minimal-secure-streams-server C) | ||
| 1218 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1219 | +cmake_minimum_required(VERSION 3.5) | ||
| 1220 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1221 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1222 | include(CheckCSourceCompiles) | ||
| 1223 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-sigv4/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-sigv4/CMakeLists.txt | ||
| 1224 | index 47deb88f..7667b25b 100644 | ||
| 1225 | --- a/minimal-examples/secure-streams/minimal-secure-streams-sigv4/CMakeLists.txt | ||
| 1226 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-sigv4/CMakeLists.txt | ||
| 1227 | @@ -1,5 +1,5 @@ | ||
| 1228 | project(lws-minimal-secure-streams-sigv4 C) | ||
| 1229 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1230 | +cmake_minimum_required(VERSION 3.5) | ||
| 1231 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1232 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1233 | include(CheckCSourceCompiles) | ||
| 1234 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-smd/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-smd/CMakeLists.txt | ||
| 1235 | index db2f9ebc..5d56196d 100644 | ||
| 1236 | --- a/minimal-examples/secure-streams/minimal-secure-streams-smd/CMakeLists.txt | ||
| 1237 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-smd/CMakeLists.txt | ||
| 1238 | @@ -1,5 +1,5 @@ | ||
| 1239 | project(lws-minimal-secure-streams-smd C) | ||
| 1240 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1241 | +cmake_minimum_required(VERSION 3.5) | ||
| 1242 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1243 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1244 | include(CheckCSourceCompiles) | ||
| 1245 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/CMakeLists.txt | ||
| 1246 | index da537213..6b357f28 100644 | ||
| 1247 | --- a/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/CMakeLists.txt | ||
| 1248 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/CMakeLists.txt | ||
| 1249 | @@ -1,5 +1,5 @@ | ||
| 1250 | project(lws-minimal-secure-streams-staticpolicy C) | ||
| 1251 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1252 | +cmake_minimum_required(VERSION 3.5) | ||
| 1253 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1254 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1255 | include(CheckCSourceCompiles) | ||
| 1256 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-stress/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-stress/CMakeLists.txt | ||
| 1257 | index 6944e7fb..b4169237 100644 | ||
| 1258 | --- a/minimal-examples/secure-streams/minimal-secure-streams-stress/CMakeLists.txt | ||
| 1259 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-stress/CMakeLists.txt | ||
| 1260 | @@ -1,5 +1,5 @@ | ||
| 1261 | project(lws-minimal-secure-streams-stress C) | ||
| 1262 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1263 | +cmake_minimum_required(VERSION 3.5) | ||
| 1264 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1265 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1266 | include(CheckCSourceCompiles) | ||
| 1267 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-testsfail/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-testsfail/CMakeLists.txt | ||
| 1268 | index cd194e18..d2463af2 100644 | ||
| 1269 | --- a/minimal-examples/secure-streams/minimal-secure-streams-testsfail/CMakeLists.txt | ||
| 1270 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-testsfail/CMakeLists.txt | ||
| 1271 | @@ -1,5 +1,5 @@ | ||
| 1272 | project(lws-minimal-secure-streams-testsfail C) | ||
| 1273 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1274 | +cmake_minimum_required(VERSION 3.5) | ||
| 1275 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1276 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1277 | include(CheckCSourceCompiles) | ||
| 1278 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams-threads/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams-threads/CMakeLists.txt | ||
| 1279 | index 5272d8f7..7e725091 100644 | ||
| 1280 | --- a/minimal-examples/secure-streams/minimal-secure-streams-threads/CMakeLists.txt | ||
| 1281 | +++ b/minimal-examples/secure-streams/minimal-secure-streams-threads/CMakeLists.txt | ||
| 1282 | @@ -1,5 +1,5 @@ | ||
| 1283 | project(lws-minimal-secure-streams-threads C) | ||
| 1284 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1285 | +cmake_minimum_required(VERSION 3.5) | ||
| 1286 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1287 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1288 | include(CheckCSourceCompiles) | ||
| 1289 | diff --git a/minimal-examples/secure-streams/minimal-secure-streams/CMakeLists.txt b/minimal-examples/secure-streams/minimal-secure-streams/CMakeLists.txt | ||
| 1290 | index 7f576ed2..2d0625c9 100644 | ||
| 1291 | --- a/minimal-examples/secure-streams/minimal-secure-streams/CMakeLists.txt | ||
| 1292 | +++ b/minimal-examples/secure-streams/minimal-secure-streams/CMakeLists.txt | ||
| 1293 | @@ -1,5 +1,5 @@ | ||
| 1294 | project(lws-minimal-secure-streams C) | ||
| 1295 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1296 | +cmake_minimum_required(VERSION 3.5) | ||
| 1297 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1298 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1299 | include(CheckCSourceCompiles) | ||
| 1300 | diff --git a/minimal-examples/ws-client/minimal-ws-client-binance/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-binance/CMakeLists.txt | ||
| 1301 | index d3ccf8cd..52eb04d8 100644 | ||
| 1302 | --- a/minimal-examples/ws-client/minimal-ws-client-binance/CMakeLists.txt | ||
| 1303 | +++ b/minimal-examples/ws-client/minimal-ws-client-binance/CMakeLists.txt | ||
| 1304 | @@ -1,5 +1,5 @@ | ||
| 1305 | project(lws-minimal-ws-client-binance C) | ||
| 1306 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1307 | +cmake_minimum_required(VERSION 3.5) | ||
| 1308 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1309 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1310 | include(CheckIncludeFile) | ||
| 1311 | diff --git a/minimal-examples/ws-client/minimal-ws-client-echo/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-echo/CMakeLists.txt | ||
| 1312 | index 4e88dbce..57a0d50e 100644 | ||
| 1313 | --- a/minimal-examples/ws-client/minimal-ws-client-echo/CMakeLists.txt | ||
| 1314 | +++ b/minimal-examples/ws-client/minimal-ws-client-echo/CMakeLists.txt | ||
| 1315 | @@ -1,5 +1,5 @@ | ||
| 1316 | project(lws-minimal-ws-client-echo C) | ||
| 1317 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1318 | +cmake_minimum_required(VERSION 3.5) | ||
| 1319 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1320 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1321 | include(CheckCSourceCompiles) | ||
| 1322 | diff --git a/minimal-examples/ws-client/minimal-ws-client-ping/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-ping/CMakeLists.txt | ||
| 1323 | index 976f4681..d7cd16b0 100644 | ||
| 1324 | --- a/minimal-examples/ws-client/minimal-ws-client-ping/CMakeLists.txt | ||
| 1325 | +++ b/minimal-examples/ws-client/minimal-ws-client-ping/CMakeLists.txt | ||
| 1326 | @@ -1,5 +1,5 @@ | ||
| 1327 | project(lws-minimal-ws-client-ping C) | ||
| 1328 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1329 | +cmake_minimum_required(VERSION 3.5) | ||
| 1330 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1331 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1332 | include(CheckIncludeFile) | ||
| 1333 | diff --git a/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/CMakeLists.txt | ||
| 1334 | index 09fb3e15..22ccae9d 100644 | ||
| 1335 | --- a/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/CMakeLists.txt | ||
| 1336 | +++ b/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/CMakeLists.txt | ||
| 1337 | @@ -1,5 +1,5 @@ | ||
| 1338 | project(lws-minimal-ws-client-pmd-bulk C) | ||
| 1339 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1340 | +cmake_minimum_required(VERSION 3.5) | ||
| 1341 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1342 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1343 | include(CheckCSourceCompiles) | ||
| 1344 | diff --git a/minimal-examples/ws-client/minimal-ws-client-rx/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-rx/CMakeLists.txt | ||
| 1345 | index faad60e4..421abe5e 100644 | ||
| 1346 | --- a/minimal-examples/ws-client/minimal-ws-client-rx/CMakeLists.txt | ||
| 1347 | +++ b/minimal-examples/ws-client/minimal-ws-client-rx/CMakeLists.txt | ||
| 1348 | @@ -1,5 +1,5 @@ | ||
| 1349 | project(lws-minimal-ws-client-rx C) | ||
| 1350 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1351 | +cmake_minimum_required(VERSION 3.5) | ||
| 1352 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1353 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1354 | include(CheckCSourceCompiles) | ||
| 1355 | diff --git a/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/CMakeLists.txt | ||
| 1356 | index 53987984..7fccbac1 100644 | ||
| 1357 | --- a/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/CMakeLists.txt | ||
| 1358 | +++ b/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/CMakeLists.txt | ||
| 1359 | @@ -1,5 +1,5 @@ | ||
| 1360 | project(lws-minimal-ws-client-spam-tx-rx C) | ||
| 1361 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1362 | +cmake_minimum_required(VERSION 3.5) | ||
| 1363 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1364 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1365 | include(CheckIncludeFile) | ||
| 1366 | diff --git a/minimal-examples/ws-client/minimal-ws-client-spam/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-spam/CMakeLists.txt | ||
| 1367 | index 34164e14..5889e8c7 100644 | ||
| 1368 | --- a/minimal-examples/ws-client/minimal-ws-client-spam/CMakeLists.txt | ||
| 1369 | +++ b/minimal-examples/ws-client/minimal-ws-client-spam/CMakeLists.txt | ||
| 1370 | @@ -1,5 +1,5 @@ | ||
| 1371 | project(lws-minimal-ws-client-spam C) | ||
| 1372 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1373 | +cmake_minimum_required(VERSION 3.5) | ||
| 1374 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1375 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1376 | include(CheckIncludeFile) | ||
| 1377 | diff --git a/minimal-examples/ws-client/minimal-ws-client-tx/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client-tx/CMakeLists.txt | ||
| 1378 | index 45d75c02..159e6018 100644 | ||
| 1379 | --- a/minimal-examples/ws-client/minimal-ws-client-tx/CMakeLists.txt | ||
| 1380 | +++ b/minimal-examples/ws-client/minimal-ws-client-tx/CMakeLists.txt | ||
| 1381 | @@ -1,5 +1,5 @@ | ||
| 1382 | project(lws-minimal-ws-client-tx C) | ||
| 1383 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1384 | +cmake_minimum_required(VERSION 3.5) | ||
| 1385 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1386 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1387 | include(CheckIncludeFile) | ||
| 1388 | diff --git a/minimal-examples/ws-client/minimal-ws-client/CMakeLists.txt b/minimal-examples/ws-client/minimal-ws-client/CMakeLists.txt | ||
| 1389 | index 96381457..849737cb 100644 | ||
| 1390 | --- a/minimal-examples/ws-client/minimal-ws-client/CMakeLists.txt | ||
| 1391 | +++ b/minimal-examples/ws-client/minimal-ws-client/CMakeLists.txt | ||
| 1392 | @@ -1,5 +1,5 @@ | ||
| 1393 | project(lws-minimal-ws-client-ping C) | ||
| 1394 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1395 | +cmake_minimum_required(VERSION 3.5) | ||
| 1396 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1397 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1398 | include(CheckIncludeFile) | ||
| 1399 | diff --git a/minimal-examples/ws-server/minimal-ws-broker/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-broker/CMakeLists.txt | ||
| 1400 | index 0972dd3e..0d5a20fc 100644 | ||
| 1401 | --- a/minimal-examples/ws-server/minimal-ws-broker/CMakeLists.txt | ||
| 1402 | +++ b/minimal-examples/ws-server/minimal-ws-broker/CMakeLists.txt | ||
| 1403 | @@ -1,5 +1,5 @@ | ||
| 1404 | project(lws-minimal-ws-broker C) | ||
| 1405 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1406 | +cmake_minimum_required(VERSION 3.5) | ||
| 1407 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1408 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1409 | include(CheckCSourceCompiles) | ||
| 1410 | diff --git a/minimal-examples/ws-server/minimal-ws-raw-proxy/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-raw-proxy/CMakeLists.txt | ||
| 1411 | index 37302124..b080b61e 100644 | ||
| 1412 | --- a/minimal-examples/ws-server/minimal-ws-raw-proxy/CMakeLists.txt | ||
| 1413 | +++ b/minimal-examples/ws-server/minimal-ws-raw-proxy/CMakeLists.txt | ||
| 1414 | @@ -1,5 +1,5 @@ | ||
| 1415 | project(lws-minimal-ws-raw-proxy C) | ||
| 1416 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1417 | +cmake_minimum_required(VERSION 3.5) | ||
| 1418 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1419 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1420 | include(CheckCSourceCompiles) | ||
| 1421 | diff --git a/minimal-examples/ws-server/minimal-ws-server-echo/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-echo/CMakeLists.txt | ||
| 1422 | index 0b8a4e5c..11e837d2 100644 | ||
| 1423 | --- a/minimal-examples/ws-server/minimal-ws-server-echo/CMakeLists.txt | ||
| 1424 | +++ b/minimal-examples/ws-server/minimal-ws-server-echo/CMakeLists.txt | ||
| 1425 | @@ -1,5 +1,5 @@ | ||
| 1426 | project(lws-minimal-ws-server-echo C) | ||
| 1427 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1428 | +cmake_minimum_required(VERSION 3.5) | ||
| 1429 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1430 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1431 | include(CheckCSourceCompiles) | ||
| 1432 | diff --git a/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/CMakeLists.txt | ||
| 1433 | index 5bb69d01..9ebf3679 100644 | ||
| 1434 | --- a/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/CMakeLists.txt | ||
| 1435 | +++ b/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/CMakeLists.txt | ||
| 1436 | @@ -1,5 +1,5 @@ | ||
| 1437 | project(lws-minimal-ws-server-pmd-bulk C) | ||
| 1438 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1439 | +cmake_minimum_required(VERSION 3.5) | ||
| 1440 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1441 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1442 | include(CheckCSourceCompiles) | ||
| 1443 | diff --git a/minimal-examples/ws-server/minimal-ws-server-pmd-corner/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-pmd-corner/CMakeLists.txt | ||
| 1444 | index 9be9eb90..d4733e01 100644 | ||
| 1445 | --- a/minimal-examples/ws-server/minimal-ws-server-pmd-corner/CMakeLists.txt | ||
| 1446 | +++ b/minimal-examples/ws-server/minimal-ws-server-pmd-corner/CMakeLists.txt | ||
| 1447 | @@ -1,5 +1,5 @@ | ||
| 1448 | project(lws-minimal-ws-server-pmd-corner C) | ||
| 1449 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1450 | +cmake_minimum_required(VERSION 3.5) | ||
| 1451 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1452 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1453 | include(CheckCSourceCompiles) | ||
| 1454 | diff --git a/minimal-examples/ws-server/minimal-ws-server-pmd/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-pmd/CMakeLists.txt | ||
| 1455 | index 507ec3e0..ba59e055 100644 | ||
| 1456 | --- a/minimal-examples/ws-server/minimal-ws-server-pmd/CMakeLists.txt | ||
| 1457 | +++ b/minimal-examples/ws-server/minimal-ws-server-pmd/CMakeLists.txt | ||
| 1458 | @@ -1,5 +1,5 @@ | ||
| 1459 | project(lws-minimal-ws-server-pmd C) | ||
| 1460 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1461 | +cmake_minimum_required(VERSION 3.5) | ||
| 1462 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1463 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1464 | include(CheckCSourceCompiles) | ||
| 1465 | diff --git a/minimal-examples/ws-server/minimal-ws-server-ring/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-ring/CMakeLists.txt | ||
| 1466 | index 7f58124c..c61e6008 100644 | ||
| 1467 | --- a/minimal-examples/ws-server/minimal-ws-server-ring/CMakeLists.txt | ||
| 1468 | +++ b/minimal-examples/ws-server/minimal-ws-server-ring/CMakeLists.txt | ||
| 1469 | @@ -1,5 +1,5 @@ | ||
| 1470 | project(lws-minimal-ws-server-ring C) | ||
| 1471 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1472 | +cmake_minimum_required(VERSION 3.5) | ||
| 1473 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1474 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1475 | include(CheckCSourceCompiles) | ||
| 1476 | diff --git a/minimal-examples/ws-server/minimal-ws-server-threadpool/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-threadpool/CMakeLists.txt | ||
| 1477 | index b7c153fd..5af05f77 100644 | ||
| 1478 | --- a/minimal-examples/ws-server/minimal-ws-server-threadpool/CMakeLists.txt | ||
| 1479 | +++ b/minimal-examples/ws-server/minimal-ws-server-threadpool/CMakeLists.txt | ||
| 1480 | @@ -1,5 +1,5 @@ | ||
| 1481 | project(lws-minimal-ws-server-threadpool C) | ||
| 1482 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1483 | +cmake_minimum_required(VERSION 3.5) | ||
| 1484 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1485 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1486 | include(CheckIncludeFile) | ||
| 1487 | diff --git a/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/CMakeLists.txt | ||
| 1488 | index 78fbf29c..fe0e10a3 100644 | ||
| 1489 | --- a/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/CMakeLists.txt | ||
| 1490 | +++ b/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/CMakeLists.txt | ||
| 1491 | @@ -1,5 +1,5 @@ | ||
| 1492 | project(lws-minimal-ws-server-threads-foreign-libuv-smp C) | ||
| 1493 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1494 | +cmake_minimum_required(VERSION 3.5) | ||
| 1495 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1496 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1497 | include(CheckIncludeFile) | ||
| 1498 | diff --git a/minimal-examples/ws-server/minimal-ws-server-threads-smp/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-threads-smp/CMakeLists.txt | ||
| 1499 | index 098a174e..d1385004 100644 | ||
| 1500 | --- a/minimal-examples/ws-server/minimal-ws-server-threads-smp/CMakeLists.txt | ||
| 1501 | +++ b/minimal-examples/ws-server/minimal-ws-server-threads-smp/CMakeLists.txt | ||
| 1502 | @@ -1,5 +1,5 @@ | ||
| 1503 | project(lws-minimal-ws-server-threads-smp C) | ||
| 1504 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1505 | +cmake_minimum_required(VERSION 3.5) | ||
| 1506 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1507 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1508 | include(CheckIncludeFile) | ||
| 1509 | diff --git a/minimal-examples/ws-server/minimal-ws-server-threads/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-threads/CMakeLists.txt | ||
| 1510 | index 513ea9dd..e42edfa1 100644 | ||
| 1511 | --- a/minimal-examples/ws-server/minimal-ws-server-threads/CMakeLists.txt | ||
| 1512 | +++ b/minimal-examples/ws-server/minimal-ws-server-threads/CMakeLists.txt | ||
| 1513 | @@ -1,5 +1,5 @@ | ||
| 1514 | project(lws-minimal-ws-server-threads C) | ||
| 1515 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1516 | +cmake_minimum_required(VERSION 3.5) | ||
| 1517 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1518 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1519 | include(CheckIncludeFile) | ||
| 1520 | diff --git a/minimal-examples/ws-server/minimal-ws-server-timer/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server-timer/CMakeLists.txt | ||
| 1521 | index bc958056..b626f25b 100644 | ||
| 1522 | --- a/minimal-examples/ws-server/minimal-ws-server-timer/CMakeLists.txt | ||
| 1523 | +++ b/minimal-examples/ws-server/minimal-ws-server-timer/CMakeLists.txt | ||
| 1524 | @@ -1,5 +1,5 @@ | ||
| 1525 | project(lws-minimal-ws-server-timer C) | ||
| 1526 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1527 | +cmake_minimum_required(VERSION 3.5) | ||
| 1528 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1529 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1530 | include(CheckCSourceCompiles) | ||
| 1531 | diff --git a/minimal-examples/ws-server/minimal-ws-server/CMakeLists.txt b/minimal-examples/ws-server/minimal-ws-server/CMakeLists.txt | ||
| 1532 | index 69a64814..87513255 100644 | ||
| 1533 | --- a/minimal-examples/ws-server/minimal-ws-server/CMakeLists.txt | ||
| 1534 | +++ b/minimal-examples/ws-server/minimal-ws-server/CMakeLists.txt | ||
| 1535 | @@ -1,5 +1,5 @@ | ||
| 1536 | project(lws-minimal-ws-server C) | ||
| 1537 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1538 | +cmake_minimum_required(VERSION 3.5) | ||
| 1539 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1540 | list(APPEND CMAKE_MODULE_PATH ${LWS_CMAKE_DIR}) | ||
| 1541 | include(CheckCSourceCompiles) | ||
| 1542 | diff --git a/plugin-standalone/CMakeLists.txt b/plugin-standalone/CMakeLists.txt | ||
| 1543 | index 71926b72..93ed4790 100644 | ||
| 1544 | --- a/plugin-standalone/CMakeLists.txt | ||
| 1545 | +++ b/plugin-standalone/CMakeLists.txt | ||
| 1546 | @@ -1,4 +1,4 @@ | ||
| 1547 | -cmake_minimum_required(VERSION 2.8.12) | ||
| 1548 | +cmake_minimum_required(VERSION 3.5) | ||
| 1549 | find_package(libwebsockets CONFIG REQUIRED) | ||
| 1550 | |||
| 1551 | if(NOT DEFINED CMAKE_BUILD_TYPE) | ||
| 1552 | -- | ||
| 1553 | 2.43.0 | ||
| 1554 | |||
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb index 0751cff178..afe2124f65 100644 --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb | |||
| @@ -9,6 +9,7 @@ DEPENDS:append:class-native = " libcap-native" | |||
| 9 | SRCREV = "ab9df9cfc39de7a49967f18387b6b76310947442" | 9 | SRCREV = "ab9df9cfc39de7a49967f18387b6b76310947442" |
| 10 | SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.3-stable \ | 10 | SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.3-stable \ |
| 11 | file://0001-sll_protocol-may-be-be16.patch \ | 11 | file://0001-sll_protocol-may-be-be16.patch \ |
| 12 | file://0002-allow-build-with-cmake-4.patch \ | ||
| 12 | " | 13 | " |
| 13 | 14 | ||
| 14 | UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases" | 15 | UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases" |
