summaryrefslogtreecommitdiffstats
path: root/cmake/3rdparty/kwin
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-06-26 20:41:29 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-06-29 12:23:10 +0200
commit375831a3dcf2f8862723a45ecf292da305db198b (patch)
tree8e94c41fe8086af2507f90f23a3d0e609040cfd5 /cmake/3rdparty/kwin
parent63f09a94dba58515129d6c75254a15ccb2af1027 (diff)
CMake: Mark all find_package(PkgConfig) to be quiet
This reduces the amount of warning messages when the pkg-config feature is disabled. Task-number: QTBUG-85276 Change-Id: I11a6dfb6273a1e48c47d1ef5c1a5f70ba990fbc0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'cmake/3rdparty/kwin')
-rw-r--r--cmake/3rdparty/kwin/FindLibdrm.cmake2
-rw-r--r--cmake/3rdparty/kwin/FindLibinput.cmake2
-rw-r--r--cmake/3rdparty/kwin/FindXKB.cmake2
-rw-r--r--cmake/3rdparty/kwin/Findgbm.cmake2
4 files changed, 4 insertions, 4 deletions
diff --git a/cmake/3rdparty/kwin/FindLibdrm.cmake b/cmake/3rdparty/kwin/FindLibdrm.cmake
index 10822e693a..48598e061b 100644
--- a/cmake/3rdparty/kwin/FindLibdrm.cmake
+++ b/cmake/3rdparty/kwin/FindLibdrm.cmake
@@ -67,7 +67,7 @@ endif()
if(NOT WIN32)
# Use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
- find_package(PkgConfig)
+ find_package(PkgConfig QUIET)
pkg_check_modules(PKG_Libdrm QUIET libdrm)
set(Libdrm_DEFINITIONS ${PKG_Libdrm_CFLAGS_OTHER})
diff --git a/cmake/3rdparty/kwin/FindLibinput.cmake b/cmake/3rdparty/kwin/FindLibinput.cmake
index b856e0bbcb..7eda173bee 100644
--- a/cmake/3rdparty/kwin/FindLibinput.cmake
+++ b/cmake/3rdparty/kwin/FindLibinput.cmake
@@ -67,7 +67,7 @@ endif()
if(NOT WIN32)
# Use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
- find_package(PkgConfig)
+ find_package(PkgConfig QUIET)
pkg_check_modules(PKG_Libinput QUIET libinput)
set(Libinput_DEFINITIONS ${PKG_Libinput_CFLAGS_OTHER})
diff --git a/cmake/3rdparty/kwin/FindXKB.cmake b/cmake/3rdparty/kwin/FindXKB.cmake
index 0d599df0fd..295580abee 100644
--- a/cmake/3rdparty/kwin/FindXKB.cmake
+++ b/cmake/3rdparty/kwin/FindXKB.cmake
@@ -47,7 +47,7 @@ endif()
if(NOT WIN32)
# Use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
- find_package(PkgConfig)
+ find_package(PkgConfig QUIET)
pkg_check_modules(PKG_XKB QUIET xkbcommon)
set(XKB_DEFINITIONS ${PKG_XKB_CFLAGS_OTHER})
diff --git a/cmake/3rdparty/kwin/Findgbm.cmake b/cmake/3rdparty/kwin/Findgbm.cmake
index 6dfc895daa..a77f7e86db 100644
--- a/cmake/3rdparty/kwin/Findgbm.cmake
+++ b/cmake/3rdparty/kwin/Findgbm.cmake
@@ -67,7 +67,7 @@ endif()
if(NOT WIN32)
# Use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
- find_package(PkgConfig)
+ find_package(PkgConfig QUIET)
pkg_check_modules(PKG_gbm QUIET gbm)
set(gbm_DEFINITIONS ${PKG_gbm_CFLAGS_OTHER})