From 82177b39ecb4c54908e015e250d6c3136ebeba65 Mon Sep 17 00:00:00 2001 From: Moritz Haase Date: Fri, 11 Jul 2025 12:00:24 +0200 Subject: upm: Allow to build with CMake 4+ Upstream is inactive, so use the 'minimum policy version' override. Signed-off-by: Moritz Haase Signed-off-by: Khem Raj --- meta-oe/recipes-extended/upm/upm_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-54-g00ecf