mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
upm: Allow to build with CMake 4+
Upstream is inactive, so use the 'minimum policy version' override. Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -27,7 +27,9 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
|
|||||||
|
|
||||||
inherit setuptools3-base cmake pkgconfig
|
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.
|
# override this in local.conf to get needed bindings.
|
||||||
# BINDINGS:pn-upm="python"
|
# BINDINGS:pn-upm="python"
|
||||||
|
|||||||
Reference in New Issue
Block a user