Message ID | 20250711100052.255467-8-Moritz.Haase@bmw.de |
---|---|
State | New |
Headers | show |
Series | Patches to allow builds with CMake 4+ | expand |
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"
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(-)