diff options
-rw-r--r-- | eclass/kde5.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |