Warning, /libraries/xdg-portal-test-kde/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(xdg_portal_test_kde_SRCS
0002     main.cpp
0003     xdgportaltest.cpp
0004     xdgexporterv2.cpp
0005     data/data.qrc
0006     dropsite/dropsitewindow.cpp
0007     dropsite/droparea.cpp
0008 )
0009 
0010 ki18n_wrap_ui(xdg_portal_test_kde_SRCS
0011     xdgportaltest.ui
0012 )
0013 
0014 include_directories(${GSTREAMER_INCLUDE_DIRS})
0015 
0016 qt_add_dbus_interface(xdg_portal_test_kde_SRCS org.freedesktop.portal.GlobalShortcuts.xml globalshortcuts_portal_interface)
0017 qt_add_dbus_interface(xdg_portal_test_kde_SRCS org.freedesktop.portal.Request.xml portalsrequest_interface)
0018 
0019 add_executable(xdg-portal-test-kde ${xdg_portal_test_kde_SRCS})
0020 
0021 ecm_add_qtwayland_client_protocol(xdg-portal-test-kde
0022     PROTOCOL ${WaylandProtocols_DATADIR}/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml
0023     BASENAME xdg-foreign-unstable-v2
0024 )
0025 
0026 target_link_libraries(xdg-portal-test-kde
0027     Qt::Core
0028     Qt::DBus
0029     Qt::Widgets
0030     Qt::WaylandClient
0031     Qt::GuiPrivate
0032     KF6::I18n
0033     KF6::KIOFileWidgets
0034     KF6::Notifications
0035     KF6::WindowSystem
0036     Wayland::Client
0037     GLIB2::GLIB2
0038     ${GSTREAMER_LIBRARIES}
0039 )
0040 
0041 install(TARGETS xdg-portal-test-kde DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})