summaryrefslogtreecommitdiff
path: root/src/hardwareintegration/compositor/wayland-egl/CMakeLists.txt
blob: c88c438d8553a16bb141de948923257dbca5496c (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
#####################################################################
## WaylandEglCompositorHwIntegrationPrivate Module:
#####################################################################
qt_find_package(EGL) # special case

qt_internal_add_module(WaylandEglCompositorHwIntegrationPrivate
    CONFIG_MODULE_NAME wayland_egl_compositor_hw_integration
    INTERNAL_MODULE
    SOURCES
        waylandeglclientbufferintegration.cpp waylandeglclientbufferintegration_p.h
    INCLUDE_DIRECTORIES
        ${CMAKE_CURRENT_SOURCE_DIR}
    LIBRARIES
        EGL::EGL
        Wayland::Egl
        Wayland::Server
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::WaylandCompositorPrivate
)

qt_internal_extend_target(WaylandEglCompositorHwIntegrationPrivate CONDITION NOT QT_FEATURE_egl_x11
    DEFINES
        QT_EGL_NO_X11
)