summaryrefslogtreecommitdiffstats
path: root/src/imports/texture-sharing/CMakeLists.txt
blob: c3c8ca4c7b51a719c29a038f9d467409ed9c28ce (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
# Generated from texture-sharing.pro.

#####################################################################
## qwaylandtexturesharing Plugin:
#####################################################################

qt_internal_add_qml_module(WaylandTextureSharing
    URI "QtWayland.Client.TextureSharing"
    VERSION "1.${PROJECT_VERSION_MINOR}"
    NO_PLUGIN_OPTIONAL
    NO_GENERATE_PLUGIN_SOURCE
    NO_GENERATE_QMLTYPES
    PLUGIN_TARGET WaylandTextureSharing
    # no qmltypes file available, so nothing to install
    CLASS_NAME QWaylandTextureSharingPlugin
    SOURCES
        plugin.cpp
        sharedtextureprovider.cpp sharedtextureprovider_p.h
        texturesharingextension.cpp texturesharingextension_p.h
    LIBRARIES
        Qt::Core
        Qt::CorePrivate
        Qt::Gui
        Qt::GuiPrivate
        Qt::OpenGL
        Qt::Qml
        Qt::QuickPrivate
        Qt::WaylandClient
        Qt::WaylandClientPrivate
)

qt6_generate_wayland_protocol_client_sources(WaylandTextureSharing
    FILES
        ${CMAKE_CURRENT_SOURCE_DIR}/../../extensions/qt-texture-sharing-unstable-v1.xml
)

#### Keys ignored in scope 1:.:.:texture-sharing.pro:<TRUE>:
# CXX_MODULE = "qml"
# IMPORT_VERSION = "1.$$QT_MINOR_VERSION"
# TARGETPATH = "QtWayland/Client/TextureSharing"