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>
This commit is contained in:
parent
63f09a94db
commit
375831a3dc
@ -68,7 +68,7 @@ ecm_find_package_version_check(EGL)
|
||||
|
||||
# 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_EGL QUIET egl)
|
||||
|
||||
set(EGL_DEFINITIONS ${PKG_EGL_CFLAGS_OTHER})
|
||||
|
@ -51,7 +51,7 @@
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#=============================================================================
|
||||
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_GLIB2 QUIET glib-2.0)
|
||||
|
||||
find_path(GLIB2_INCLUDE_DIRS
|
||||
|
@ -69,7 +69,7 @@ ecm_find_package_version_check(X11_XCB)
|
||||
|
||||
# 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_X11_XCB QUIET x11-xcb)
|
||||
|
||||
set(X11_XCB_DEFINITIONS ${PKG_X11_XCB_CFLAGS_OTHER})
|
||||
|
@ -214,7 +214,7 @@ macro(ecm_find_package_handle_library_components module_name)
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
foreach(ecm_fpwc_comp ${ECM_FPWC_COMPONENTS})
|
||||
set(ecm_fpwc_dep_vars)
|
||||
set(ecm_fpwc_dep_targets)
|
||||
|
2
cmake/3rdparty/kwin/FindLibdrm.cmake
vendored
2
cmake/3rdparty/kwin/FindLibdrm.cmake
vendored
@ -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})
|
||||
|
2
cmake/3rdparty/kwin/FindLibinput.cmake
vendored
2
cmake/3rdparty/kwin/FindLibinput.cmake
vendored
@ -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})
|
||||
|
2
cmake/3rdparty/kwin/FindXKB.cmake
vendored
2
cmake/3rdparty/kwin/FindXKB.cmake
vendored
@ -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})
|
||||
|
2
cmake/3rdparty/kwin/Findgbm.cmake
vendored
2
cmake/3rdparty/kwin/Findgbm.cmake
vendored
@ -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})
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(DirectFB directfb IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_GSSAPI QUIET krb5-gssapi)
|
||||
|
||||
find_path(GSSAPI_INCLUDE_DIRS
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(GTK3 "gtk+-3.0 >= 3.6" IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(Libproxy libproxy-1.0 IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(Libsystemd libsystemd IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(Libudev libudev IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
# ``MySQL::MySQL``
|
||||
# The mysql client library
|
||||
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_MySQL QUIET mysqlclient)
|
||||
|
||||
find_path(MySQL_INCLUDE_DIRS
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(Tslib tslib IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_check_modules(XKB_COMMON_X11 "xkbcommon-x11>=0.4.1" IMPORTED_TARGET)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
if(NOT TARGET PkgConfig::XRender)
|
||||
pkg_check_modules(XRender xrender IMPORTED_TARGET)
|
||||
|
@ -18,7 +18,7 @@
|
||||
# ``ZSTD::ZSTD``
|
||||
# The zstd library
|
||||
|
||||
find_package(PkgConfig)
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_ZSTD QUIET libzstd)
|
||||
|
||||
find_path(ZSTD_INCLUDE_DIRS
|
||||
|
Loading…
Reference in New Issue
Block a user