commit:     a17850c8167ccda5b81612e349becc0211e14acb
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:19:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17850c8

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 62c2e9ae1f4..85cd9a5529f 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