diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-24 00:08:04 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-26 10:22:33 +0200 |
commit | cbd8067af84cfbe52d9a44c93a15270259d23209 (patch) | |
tree | bc5f32734452beb56b3c405b394d3498eea3d8f5 /eclass/kde5.eclass | |
parent | kde5.eclass: Drop obsolete SRC_URI (diff) | |
download | gentoo-cbd8067af84cfbe52d9a44c93a15270259d23209.tar.gz gentoo-cbd8067af84cfbe52d9a44c93a15270259d23209.tar.bz2 gentoo-cbd8067af84cfbe52d9a44c93a15270259d23209.zip |
kde5.eclass: Don't add BUILD_TESTING=OFF if test not in IUSE
Diffstat (limited to 'eclass/kde5.eclass')
-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 |