mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
dnfdragora: Allow to build with CMake 4+
The 2.x branch of dnfdragora is in maintenance mode. Official support to build with CMake 4+ is only available in preview versions of v3 (named 2.99.x, see [0]) which are only compatible with dnf v5. Thus, apply the 'minimum policy version' override. [0]: https://github.com/manatools/dnfdragora/commit/0b84709de2b6e981b6359f1ad9806eca5e267462 Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,7 +20,8 @@ DEPENDS += "dnf python3 "
|
||||
RDEPENDS:${PN}:class-target = " python3-core libyui libyui-ncurses "
|
||||
|
||||
# manpages generation requires http://www.sphinx-doc.org/
|
||||
EXTRA_OECMAKE = " -DWITH_MAN=OFF -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
|
||||
EXTRA_OECMAKE += "-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DWITH_MAN=OFF -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user