commit:     0215336cf58a5a6460b8d7a31301928a4116a2f0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 14:13:27 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 14:13:27 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=0215336c

cmake.eclass: Fix CMAKE_VERBOSE logic

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/cmake.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index bd78401163..1d1e701a6c 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -569,8 +569,8 @@ cmake_build() {
                emake)
                        [[ -e Makefile ]] || die "Makefile not found. Error 
during configure stage."
                        case ${CMAKE_VERBOSE} in
-                               OFF) emake VERBOSE=1 "$@" ;;
-                               *) emake "$@" ;;
+                               OFF) emake "$@" ;;
+                               *) emake VERBOSE=1 "$@" ;;
                        esac
                        ;;
                ninja)

Reply via email to