diff mbox series

[meta-oe,07/10] upm: Allow to build with CMake 4+

Message ID 20250711100052.255467-8-Moritz.Haase@bmw.de
State New
Headers show
Series Patches to allow builds with CMake 4+ | expand

Commit Message

Moritz Haase July 11, 2025, 10 a.m. UTC
Upstream is inactive, so use the 'minimum policy version' override.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
---
 meta-oe/recipes-extended/upm/upm_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/upm/upm_git.bb b/meta-oe/recipes-extended/upm/upm_git.bb
index 616f4ca09a..9b809ce727 100644
--- a/meta-oe/recipes-extended/upm/upm_git.bb
+++ b/meta-oe/recipes-extended/upm/upm_git.bb
@@ -27,7 +27,9 @@  COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
 
 inherit setuptools3-base cmake pkgconfig
 
-EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE -DWERROR=off"
+EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE -DWERROR=off \
+                  -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
+"
 
 # override this in local.conf to get needed bindings.
 # BINDINGS:pn-upm="python"