diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-07-17 11:13:25 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-07-18 16:51:54 -0400 |
commit | f042f7c1d9a26422514494a1d4e98e51a4255b28 (patch) | |
tree | 42d0f3e45161a67cb7e6f6cfdc74eb52c5a0febf /eclass | |
parent | ninja-utils.eclass: Add NINJA_VERBOSE (diff) | |
download | gentoo-f042f7c1d9a26422514494a1d4e98e51a4255b28.tar.gz gentoo-f042f7c1d9a26422514494a1d4e98e51a4255b28.tar.bz2 gentoo-f042f7c1d9a26422514494a1d4e98e51a4255b28.zip |
cmake.eclass: Support CMAKE_VERBOSE with ninja
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cmake.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index d70f2cbf1fac..16b3e300ccae 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -651,6 +651,10 @@ cmake_build() { ;; ninja) [[ -e build.ninja ]] || die "build.ninja not found. Error during configure stage." + case ${CMAKE_VERBOSE} in + OFF) NINJA_VERBOSE=OFF eninja "$@" ;; + *) eninja "$@" ;; + esac eninja "$@" ;; esac |