mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user