Use correct condition for the qopengles2ext.h file

Amends b98706f122

Change-Id: I5d7af699d0afed4deebc5afd39725f1af68833b5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev 2022-05-13 11:29:43 +02:00
parent 601dbd6499
commit 28b4bd7dbb

View File

@ -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 qt_internal_extend_target(Gui CONDITION QT_FEATURE_opengl AND QT_FEATURE_xlib AND NOT QT_FEATURE_opengles2
SOURCES SOURCES
opengl/qopengles2ext.h
opengl/platform/unix/qglxconvenience.cpp opengl/platform/unix/qglxconvenience_p.h opengl/platform/unix/qglxconvenience.cpp opengl/platform/unix/qglxconvenience_p.h
LIBRARIES LIBRARIES
X11::X11 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 qt_internal_extend_target(Gui CONDITION QT_FEATURE_egl AND QT_FEATURE_opengl
SOURCES SOURCES
opengl/platform/egl/qeglpbuffer.cpp opengl/platform/egl/qeglpbuffer_p.h opengl/platform/egl/qeglpbuffer.cpp opengl/platform/egl/qeglpbuffer_p.h