CMake: Fix some incorrectly included FindPkgConfig modules

This gets rid of a few warnings during configuration.

Task-number: QTBUG-85276
Change-Id: I07d2fdfd8d3f81f1d780528ee6350e1a3ded9523
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2020-06-26 18:27:09 +02:00
parent cf3cef1ef5
commit fb5cf5be15
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
include(FindPkgConfig)
find_package(PkgConfig)
pkg_check_modules(ATSPI2 atspi-2 IMPORTED_TARGET)

View File

@ -1,4 +1,4 @@
include(FindPkgConfig)
find_package(PkgConfig)
pkg_check_modules(GTK3 "gtk+-3.0 >= 3.6" IMPORTED_TARGET)

View File

@ -1,4 +1,4 @@
include(FindPkgConfig)
find_package(PkgConfig)
pkg_check_modules(XKB_COMMON_X11 "xkbcommon-x11>=0.4.1" IMPORTED_TARGET)

View File

@ -1,4 +1,4 @@
include(FindPkgConfig)
find_package(PkgConfig)
if(NOT TARGET PkgConfig::XRender)
pkg_check_modules(XRender xrender IMPORTED_TARGET)