summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hardwareintegration/compositor/wayland-egl/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hardwareintegration/compositor/wayland-egl/CMakeLists.txt b/src/hardwareintegration/compositor/wayland-egl/CMakeLists.txt
index 2e81f902..c88c438d 100644
--- a/src/hardwareintegration/compositor/wayland-egl/CMakeLists.txt
+++ b/src/hardwareintegration/compositor/wayland-egl/CMakeLists.txt
@@ -19,3 +19,8 @@ qt_internal_add_module(WaylandEglCompositorHwIntegrationPrivate
Qt::Gui
Qt::WaylandCompositorPrivate
)
+
+qt_internal_extend_target(WaylandEglCompositorHwIntegrationPrivate CONDITION NOT QT_FEATURE_egl_x11
+ DEFINES
+ QT_EGL_NO_X11
+)