cmake: build glxconvenience
Change-Id: Iad09a86d11565665bb06d8d5d5616fc1b35ad777 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
beace29a57
commit
8ee0cb04bd
@ -41,6 +41,10 @@ if(QT_FEATURE_opengl)
|
||||
add_subdirectory(platformcompositor)
|
||||
endif()
|
||||
|
||||
if (QT_FEATURE_xlib AND QT_FEATURE_opengl AND (NOT QT_FEATURE_opengles2))
|
||||
add_subdirectory(glxconvenience)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
add_subdirectory(clipboard)
|
||||
add_subdirectory(graphics)
|
||||
|
24
src/platformsupport/glxconvenience/CMakeLists.txt
Normal file
24
src/platformsupport/glxconvenience/CMakeLists.txt
Normal file
@ -0,0 +1,24 @@
|
||||
# Generated from glxconvenience.pro.
|
||||
|
||||
find_package(X11)
|
||||
find_package(OpenGL)
|
||||
|
||||
#####################################################################
|
||||
## GlxSupport Module:
|
||||
#####################################################################
|
||||
|
||||
add_qt_module(GlxSupport
|
||||
STATIC
|
||||
SOURCES
|
||||
qglxconvenience.cpp qglxconvenience_p.h
|
||||
DEFINES
|
||||
QT_NO_CAST_FROM_ASCII
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
X11::X11
|
||||
OpenGL::GLX
|
||||
# CONFIG = "static" "internal_module"
|
||||
# MODULE = "glx_support"
|
||||
# _LOADED = "qt_module"
|
||||
)
|
Loading…
Reference in New Issue
Block a user