cmake: build eglconvenience
Change-Id: Iba578190feb06953bfcba62978d2ba5b7ff35cb7 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
324bf0f344
commit
553254ba50
@ -33,6 +33,10 @@ if(QT_FEATURE_kms)
|
||||
add_subdirectory(kmsconvenience)
|
||||
endif()
|
||||
|
||||
if(QT_FEATURE_egl)
|
||||
add_subdirectory(eglconvenience)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
add_subdirectory(clipboard)
|
||||
add_subdirectory(graphics)
|
||||
|
37
src/platformsupport/eglconvenience/CMakeLists.txt
Normal file
37
src/platformsupport/eglconvenience/CMakeLists.txt
Normal file
@ -0,0 +1,37 @@
|
||||
# Generated from eglconvenience.pro.
|
||||
|
||||
find_package(OpenGL)
|
||||
|
||||
#####################################################################
|
||||
## EglSupport Module:
|
||||
#####################################################################
|
||||
|
||||
add_qt_module(EglSupport
|
||||
STATIC
|
||||
SOURCES
|
||||
qeglconvenience.cpp qeglconvenience_p.h
|
||||
qeglstreamconvenience.cpp qeglstreamconvenience_p.h
|
||||
qt_egl_p.h
|
||||
DEFINES
|
||||
QT_NO_CAST_FROM_ASCII
|
||||
QT_EGL_NO_X11
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
OpenGL::EGL
|
||||
${CMAKE_DL_LIBS}
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(EglSupport CONDITION QT_FEATURE_opengl
|
||||
SOURCES
|
||||
qeglpbuffer.cpp qeglpbuffer_p.h
|
||||
qeglplatformcontext.cpp qeglplatformcontext_p.h
|
||||
)
|
||||
|
||||
extend_target(EglSupport CONDITION QT_FEATURE_xlib
|
||||
SOURCES
|
||||
qxlibeglintegration.cpp qxlibeglintegration_p.h
|
||||
)
|
Loading…
Reference in New Issue
Block a user