quic: Fix compilation error with CMake 4.0.0 91/42491/2
authornucleo <[email protected]>
Mon, 17 Mar 2025 14:25:41 +0000 (16:25 +0200)
committerDave Wallace <[email protected]>
Wed, 19 Mar 2025 18:04:56 +0000 (18:04 +0000)
Fixes quicly compilation error and warning with CMake 4

Compatibility with CMake < 3.5 has been removed from CMake.
Compatibility with CMake < 3.10 will be removed from a future version of CMake.

Type: fix

Change-Id: I810f70459d5ba70f6a8c0ea0d57c77fe20dddb73
Signed-off-by: nucleo <[email protected]>
build/external/patches/quicly_0.1.5-vpp/0003-cmake-4.patch [new file with mode: 0644]

diff --git a/build/external/patches/quicly_0.1.5-vpp/0003-cmake-4.patch b/build/external/patches/quicly_0.1.5-vpp/0003-cmake-4.patch
new file mode 100644 (file)
index 0000000..d16ac0d
--- /dev/null
@@ -0,0 +1,16 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
+ CMAKE_POLICY(SET CMP0003 NEW)
+ PROJECT(quicly)
+--- a/deps/picotls/CMakeLists.txt
++++ b/deps/picotls/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
+ CMAKE_POLICY(SET CMP0003 NEW)
+ PROJECT(picotls)