cmake.eclass: Fix CMAKE_VERBOSE logic
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 5 Jan 2020 14:13:27 +0000 (15:13 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 5 Jan 2020 14:19:49 +0000 (15:19 +0100)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/cmake.eclass

index 62c2e9ae1f46d3d2c113b800e13843dff96c21f3..85cd9a5529fb267d31c6786b237a567c06b8dbdd 100644 (file)
@@ -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)