From 9afca46e378ecee3a85e99086a89921f9d253f25 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 11 Feb 2019 10:51:41 +0100 Subject: [PATCH] cmake: Fix linking of the egl_x11 test Change-Id: Id350e1cf85de67d1f27f6bfc94316bed115b377f Reviewed-by: Tobias Hunger --- src/gui/configure.cmake | 2 ++ 1 file changed, 2 insertions(+) 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,