diff mbox series

[meta-oe,1/3] openobex: Fix build with cmake4

Message ID 20250712203402.145129-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/3] openobex: Fix build with cmake4 | expand

Commit Message

Khem Raj July 12, 2025, 8:34 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
index be8482ab50..1b8bd47e39 100644
--- a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
+++ b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
@@ -21,8 +21,10 @@  S = "${UNPACKDIR}/${BP}-Source"
 
 inherit cmake pkgconfig
 
-EXTRA_OECONF = " -DCMAKE_SKIP_RPATH=ON "
-EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF"
+EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF \
+                  -DCMAKE_SKIP_RPATH=ON \
+                  -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
+                  "
 
 ASNEEDED = ""