summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/configure.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake
index dc23714de3..f83ea7c376 100644
--- a/src/gui/configure.cmake
+++ b/src/gui/configure.cmake
@@ -129,6 +129,8 @@ drmModeAtomicReq *request;
# egl-x11
qt_config_compile_test(egl_x11
LABEL "EGL on X11"
+ LIBRARIES X11::X11
+CODE
"// Check if EGL is compatible with X. Some EGL implementations, typically on
// embedded devices, are not intended to be used together with X. EGL support
// has to be disabled in plugins like xcb in this case since the native display,