summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-06-12 00:36:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-06-12 00:36:31 +0200
commit4d9fecade34fcb6d4e56c30f3fdabe5ba517b07b (patch)
treeeda7965324eee7d0e565ad96950f83ccd5e19112 /eclass
parent96572dea15a6075862cd34781014ba21653bbb6c (diff)
downloadkde-4d9fecade34fcb6d4e56c30f3fdabe5ba517b07b.tar.gz
kde-4d9fecade34fcb6d4e56c30f3fdabe5ba517b07b.tar.bz2
kde-4d9fecade34fcb6d4e56c30f3fdabe5ba517b07b.zip
ecm.eclass: Avoid unused cmake arg warnings w/ >=KF-6.15
Upstream now only searches for these Python libs inside the BUILD_PYTHON_BINDINGS conditional if enabled. See also: https://invent.kde.org/frameworks/kunitconversion/-/commit/2c1239dd Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index dbf7ba2a2cc..d8240044699 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -641,10 +641,10 @@ ecm_src_configure() {
fi
if [[ ${ECM_PYTHON_BINDINGS} == off ]]; then
- cmakeargs+=(
- -DBUILD_PYTHON_BINDINGS=OFF
- -DCMAKE_DISABLE_FIND_PACKAGE_{Python3,PySide6,Shiboken6}=ON
- )
+ cmakeargs+=( -DBUILD_PYTHON_BINDINGS=OFF )
+ if ver_test -lt 6.15; then
+ cmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_{Python3,PySide6,Shiboken6}=ON )
+ fi
fi
if [[ ${ECM_QTHELP} = true ]]; then