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]: 0b84709de2

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Moritz Haase 2025-07-14 13:26:32 +02:00 committed by Khem Raj
parent 62702ff84d
commit e544f97ead
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"