Skip to content

Commit

Permalink
Replace 'quiet' cmake loglevel with 'error'
Browse files Browse the repository at this point in the history
There is no 'quiet' loglevel in CMake.
  • Loading branch information
Nikita Akatiev authored and Nikita Akatiev committed Jul 13, 2023
1 parent 897f5fb commit 4baa5f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conan/tools/cmake/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,6 @@ def _cmake_log_levels_args(self):
:return:
"""
log_level = self._conanfile.conf.get("tools.build:verbosity", choices=("quiet", "verbose"))
if log_level == "quiet":
log_level = "error"
return ["--loglevel=" + log_level.upper()] if log_level is not None else []

0 comments on commit 4baa5f2

Please sign in to comment.