aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-05 14:51:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-05 14:58:17 +0100
commit6525e1f94752c843aedcf924b2403979a07bd0e4 (patch)
treed80f2d7bd2da7acd18a5c62e5bd5593ad1a708d7 /eclass
parentkde-apps/kdecore-meta: Drop USE webkit (diff)
downloadkde-6525e1f94752c843aedcf924b2403979a07bd0e4.tar.gz
kde-6525e1f94752c843aedcf924b2403979a07bd0e4.tar.bz2
kde-6525e1f94752c843aedcf924b2403979a07bd0e4.zip
cmake.eclass: Fix build with CMAKE_VERBOSE=OFF
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index f523d7eb4e..b7044d3144 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -566,8 +566,10 @@ cmake_build() {
case ${CMAKE_MAKEFILE_GENERATOR} in
emake)
[[ -e Makefile ]] || die "Makefile not found. Error during configure stage."
- [[ "${CMAKE_VERBOSE}" != "OFF" ]] && local verbosity="VERBOSE=1"
- emake "${verbosity}" "$@"
+ case ${CMAKE_VERBOSE} in
+ OFF) emake VERBOSE=1 "$@" ;;
+ *) emake "$@" ;;
+ esac
;;
ninja)
[[ -e build.ninja ]] || die "build.ninja not found. Error during configure stage."