diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2018-11-28 17:10:04 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2018-11-29 11:48:39 +0000 |
commit | 9d23904f5d5f13f8e6f72deebefff1d336163ff8 (patch) | |
tree | 69a4b40824bebfd559a0d6bae08836d2d7c44ab9 | |
parent | 9eb8b56f6a1a23d57a76f525a534f35761954217 (diff) |
Make sure not to print "up-to-date" and "install" messages when doing
a quiet build.
Change-Id: Ie86853ea58aed3d35f37a9dd3e4c358269fbe111
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fa5fc6..2aa79d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,11 @@ cmake_minimum_required(VERSION 3.1) project(pyside2-tools) +# Don't display "up-to-date / install" messages when installing, to reduce visual clutter. +if (QUIET_BUILD) + set(CMAKE_INSTALL_MESSAGE NEVER) +endif() + find_package(Shiboken2 2.0.0 REQUIRED) find_package(Qt5 REQUIRED Core) find_package(PySide2 2.0.0 REQUIRED) |