diff mbox series

[meta-networking,1/2] relayd: Fix building with CMake 4+

Message ID 20250714232933.230092-1-raj.khem@gmail.com
State New
Headers show
Series [meta-networking,1/2] relayd: Fix building with CMake 4+ | expand

Commit Message

Khem Raj July 14, 2025, 11:29 p.m. UTC
Bump minimum cmake dialect to be 3.5+, this is an openwrt
component, which does not get many updates these days. Ideally
the cmake files for the project should be fixed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-networking/recipes-connectivity/relayd/relayd_git.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/relayd/relayd_git.bb b/meta-networking/recipes-connectivity/relayd/relayd_git.bb
index 17745da806..64ea4e798a 100644
--- a/meta-networking/recipes-connectivity/relayd/relayd_git.bb
+++ b/meta-networking/recipes-connectivity/relayd/relayd_git.bb
@@ -15,4 +15,6 @@  UPSTREAM_CHECK_COMMITS = "1"
 
 inherit cmake
 
+EXTRA_OECMAKE += "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
+
 CFLAGS:append:toolchain-clang = " -Wno-error=gnu-variable-sized-type-not-at-end"