summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eglconvenience/.prev_CMakeLists.txt
blob: d286ff76ad88adf6453fccfcf316bb767b3fd0b2 (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
45
46
47
48
49
50
51
52
53
54
# Generated from eglconvenience.pro.

#####################################################################
## EglSupport Module:
#####################################################################

add_qt_module(EglSupport
    STATIC
    INTERNAL_MODULE
    SOURCES
        qeglconvenience.cpp qeglconvenience_p.h
        qeglstreamconvenience.cpp qeglstreamconvenience_p.h
        qt_egl_p.h
    DEFINES
        QT_NO_CAST_FROM_ASCII
    LIBRARIES
        Qt::CorePrivate
        Qt::GuiPrivate
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
)

#### Keys ignored in scope 1:.:.:eglconvenience.pro:<TRUE>:
# CONFIG = "static" "internal_module" "egl"
# MODULE = "egl_support"
# PRECOMPILED_HEADER = "../../corelib/global/qt_pch.h"
# _LOADED = "qt_module"

## 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_egl_x11
    SOURCES
        qxlibeglintegration.cpp qxlibeglintegration_p.h
    LIBRARIES
        X11::XCB
)

extend_target(EglSupport CONDITION NOT QT_FEATURE_egl_x11
    DEFINES
        QT_EGL_NO_X11
)

extend_target(EglSupport CONDITION QT_FEATURE_dlopen
    PUBLIC_LIBRARIES
        ${CMAKE_DL_LIBS}
)