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

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

qt_internal_add_qml_module(qwaylandtexturesharing
    URI "QtWayland.Client.TextureSharing"
    VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}"
    CLASSNAME QWaylandTextureSharingPlugin
    SKIP_TYPE_REGISTRATION
    SOURCES
        plugin.cpp
        sharedtextureprovider.cpp sharedtextureprovider.h
        texturesharingextension.cpp texturesharingextension.h
    PUBLIC_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(qwaylandtexturesharing
    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"