From 28b4bd7dbbd4c0d4e2e04aff0ff885ec163975bc Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Fri, 13 May 2022 11:29:43 +0200 Subject: Use correct condition for the qopengles2ext.h file Amends b98706f12207112645cc02a6df4868ebda2db8be Change-Id: I5d7af699d0afed4deebc5afd39725f1af68833b5 Reviewed-by: Alexandru Croitor --- src/gui/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index d5d35975b30..0ff1ef0c94c 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -837,12 +837,16 @@ qt_internal_extend_target(Gui CONDITION QT_FEATURE_undogroup qt_internal_extend_target(Gui CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2 SOURCES - opengl/qopengles2ext.h opengl/platform/unix/qglxconvenience.cpp opengl/platform/unix/qglxconvenience_p.h LIBRARIES X11::X11 ) +qt_internal_extend_target(Gui CONDITION QT_FEATURE_opengles2 + SOURCES + opengl/qopengles2ext.h +) + qt_internal_extend_target(Gui CONDITION QT_FEATURE_egl AND QT_FEATURE_opengl SOURCES opengl/platform/egl/qeglpbuffer.cpp opengl/platform/egl/qeglpbuffer_p.h -- cgit v1.2.3