From cbd8067af84cfbe52d9a44c93a15270259d23209 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 24 Oct 2017 00:08:04 +0200 Subject: kde5.eclass: Don't add BUILD_TESTING=OFF if test not in IUSE --- eclass/kde5.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass/kde5.eclass') diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index fba09c011861..da0faafec26b 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -620,7 +620,7 @@ kde5_src_configure() { local cmakeargs - if ! use_if_iuse test ; then + if in_iuse test && ! use test ; then cmakeargs+=( -DBUILD_TESTING=OFF ) if [[ ${KDE_TEST} = optional ]] ; then -- cgit v1.2.3-65-gdbad