summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/CMakeLists.txt
blob: 9dde3090c8696188d485741bb767768d2ba1ae8b (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
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

#####################################################################
## QEglFSX11IntegrationPlugin Plugin:
#####################################################################

qt_internal_add_plugin(QEglFSX11IntegrationPlugin
    OUTPUT_NAME qeglfs-x11-integration
    PLUGIN_TYPE egldeviceintegrations
    SOURCES
        qeglfsx11integration.cpp qeglfsx11integration.h
        qeglfsx11main.cpp
    DEFINES
        QT_EGL_NO_X11
    INCLUDE_DIRECTORIES
        ../../api
    LIBRARIES
        Qt::Core
        Qt::CorePrivate
        Qt::EglFSDeviceIntegrationPrivate
        Qt::Gui
        Qt::GuiPrivate
        X11::X11
        X11::XCB
        XCB::XCB
    NO_UNITY_BUILD # X11 define clashes
)