diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-11 10:51:41 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-11 10:02:33 +0000 |
commit | 9afca46e378ecee3a85e99086a89921f9d253f25 (patch) | |
tree | 48d86146319b3a03df55da822ccbaf8e3e8f7dec /src/gui/configure.cmake | |
parent | 622816499d964fb9214a7c3e5820526788b4c124 (diff) |
cmake: Fix linking of the egl_x11 test
Change-Id: Id350e1cf85de67d1f27f6bfc94316bed115b377f
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/gui/configure.cmake')
-rw-r--r-- | src/gui/configure.cmake | 2 |
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, |