summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/gl_integrations/xcb_glx/CMakeLists.txt
blob: dfb74d71385b9259efbf6d883f369ce90023e1fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Generated from xcb_glx.pro.

#####################################################################
## qxcb-glx-integration Plugin:
#####################################################################

qt_add_plugin(qxcb-glx-integration
    TYPE xcbglintegrations
    CLASS_NAME QXcbGlxIntegrationPlugin
    SOURCES
        qglxintegration.cpp qglxintegration.h
        qxcbglxintegration.cpp qxcbglxintegration.h
        qxcbglxmain.cpp
        qxcbglxnativeinterfacehandler.cpp qxcbglxnativeinterfacehandler.h
        qxcbglxwindow.cpp qxcbglxwindow.h
    DEFINES
        QT_NO_FOREACH
    INCLUDE_DIRECTORIES
        ..
        ../..
    LIBRARIES
        Qt::CorePrivate
        Qt::GlxSupportPrivate
        Qt::GuiPrivate
        Qt::XcbQpaPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::GlxSupport
        Qt::Gui
        Qt::XcbQpa
)

## Scopes:
#####################################################################

qt_extend_target(qxcb-glx-integration CONDITION QT_FEATURE_xcb_glx
    PUBLIC_LIBRARIES
        XCB::GLX
)

qt_extend_target(qxcb-glx-integration CONDITION QT_FEATURE_dlopen AND NOT static
    PUBLIC_LIBRARIES
        ${CMAKE_DL_LIBS}
)