Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
From 92ff749866dc8e826021622f8b8dc59e2a54b3bd Mon Sep 17 00:00:00 2001
From: Ilies CHERGUI <[email protected]>
Date: Tue, 19 Aug 2025 16:12:55 +0100
Subject: [PATCH 2/2] cmake: Set minimum required version to 3.5 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!

Upstream-Status: Inappropriate [OE-specific]
Signed-off-by: Ilies CHERGUI <[email protected]>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index dcf5685..a404c2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if its working, perhaps its worth letting upstream have a look at this patch.


list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

--
2.34.1

1 change: 1 addition & 0 deletions recipes-devtools/libevhtp/libevhtp_1.2.18.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=68e2a80f5f9020a66f4512962817cd66"
SRC_URI = " \
git://github.com/Yellow-Camper/libevhtp.git;protocol=https;branch=master \
file://0001-fix-cmake-build.patch \
file://0002-cmake-Set-minimum-required-version-to-3.5-for-CMake-.patch \
"

SRCREV = "e200bfa85bf253e9cfe1c1a9e705fccb176b9171"
Expand Down