summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt2
-rw-r--r--util/cmake/helper.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt
index 51e5f97658..c8212daae6 100644
--- a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt
+++ b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt
@@ -38,7 +38,7 @@ add_qt_plugin(qxcb-glx-integration
extend_target(qxcb-glx-integration CONDITION QT_FEATURE_xcb_glx
PUBLIC_LIBRARIES
- xcb_glx
+ XCB::GLX
)
extend_target(qxcb-glx-integration CONDITION NOT static
diff --git a/util/cmake/helper.py b/util/cmake/helper.py
index 1e13a5a1f3..eb30aa02dd 100644
--- a/util/cmake/helper.py
+++ b/util/cmake/helper.py
@@ -240,6 +240,7 @@ qmake_library_to_cmake_target_mapping = {
'SQLite3': 'SQLite::SQLite3',
'tslib': 'PkgConfig::Tslib',
'x11sm': '${X11_SM_LIB} ${X11_ICE_LIB}',
+ 'xcb_glx': 'XCB::GLX',
'xcb_icccm': 'XCB::ICCCM',
'xcb_image': 'XCB::IMAGE',
'xcb_keysyms': 'XCB::KEYSYMS',