cmake: Fix linking of the egl_x11 test

Change-Id: Id350e1cf85de67d1f27f6bfc94316bed115b377f
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
bb10
Albert Astals Cid 2019-02-11 10:51:41 +01:00
parent 622816499d
commit 9afca46e37
1 changed files with 2 additions and 0 deletions

View File

@ -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,