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",