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"