summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-01-26 10:52:50 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2021-01-26 16:18:24 +0100
commit127a1ada32419582616989905679a693ce0c5cb4 (patch)
tree67dcf9c7cf88e639131925feb31c5ff67fb30a38 /util
parente3e1fc482053587811f39dcc9d1be231df00f660 (diff)
Change XCB::XFIXES condition in library mapping
Replace condition of XCB::XFIXES from the 'XCB_XFIXES_FOUND' variable to 'TARGET XCB::XFIXES'. Fixes: QTBUG-89979 Change-Id: I77b8b4046dc6852ecb209d942ee94d864a35c378 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'util')
-rw-r--r--util/cmake/helper.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py
index c27208c712..c23c1d6f71 100644
--- a/util/cmake/helper.py
+++ b/util/cmake/helper.py
@@ -566,14 +566,16 @@ _library_map = [
"XCB",
"XCB::XFIXES",
extra=["COMPONENTS", "XFIXES"],
- resultVariable="XCB_XFIXES",
+ resultVariable="TARGET XCB::XFIXES",
+ appendFoundSuffix=False,
),
LibraryMapping(
"xcb-xfixes",
"XCB",
"XCB::XFIXES",
extra=["COMPONENTS", "XFIXES"],
- resultVariable="XCB_XFIXES",
+ resultVariable="TARGET XCB::XFIXES",
+ appendFoundSuffix=False,
),
LibraryMapping(
"xcb_xinput",