kde-frameworks/kdnssd: Fix unused cmake var noise w/ IUSE=zeroconf

Bug: https://bugs.gentoo.org/832509
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2022-02-02 20:46:13 +01:00
parent 7d9660eab6
commit fa4fea29aa

View File

@@ -25,9 +25,9 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON
$(cmake_use_find_package zeroconf Avahi)
)
use zeroconf || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON )
ecm_src_configure
}