Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN="xdg-desktop-portal-kde") | 1 | add_definitions(-DTRANSLATION_DOMAIN="xdg-desktop-portal-kde") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | include_directories( | 3 | include_directories(${Qt5PrintSupport_PRIVATE_INCLUDE_DIRS}) | ||
4 | ${Qt5PrintSupport_PRIVATE_INCLUDE_DIRS} | | |||
5 | ${PIPEWIRE_INCLUDE_DIRS} ${SPA_INCLUDE_DIRS} ${GLIB_INCLUDE_DIRS} | | |||
6 | ${gbm_INCLUDE_DIRS} | | |||
7 | ) | | |||
8 | 4 | | |||
9 | set(xdg_desktop_portal_kde_SRCS | 5 | set(xdg_desktop_portal_kde_SRCS | ||
10 | xdg-desktop-portal-kde.cpp | 6 | xdg-desktop-portal-kde.cpp | ||
krop: Not needed for gbm, SPA and PipeWire, you created targets | |||||
11 | access.cpp | 7 | access.cpp | ||
12 | accessdialog.cpp | 8 | accessdialog.cpp | ||
13 | appchooser.cpp | 9 | appchooser.cpp | ||
14 | appchooserdialog.cpp | 10 | appchooserdialog.cpp | ||
15 | desktopportal.cpp | 11 | desktopportal.cpp | ||
16 | email.cpp | 12 | email.cpp | ||
17 | filechooser.cpp | 13 | filechooser.cpp | ||
18 | inhibit.cpp | 14 | inhibit.cpp | ||
Show All 28 Lines | 39 | target_link_libraries(xdg-desktop-portal-kde | |||
47 | Qt5::Widgets | 43 | Qt5::Widgets | ||
48 | KF5::CoreAddons | 44 | KF5::CoreAddons | ||
49 | KF5::I18n | 45 | KF5::I18n | ||
50 | KF5::Notifications | 46 | KF5::Notifications | ||
51 | KF5::WaylandClient | 47 | KF5::WaylandClient | ||
52 | ) | 48 | ) | ||
53 | 49 | | |||
54 | if (SCREENCAST_ENABLED) | 50 | if (SCREENCAST_ENABLED) | ||
55 | target_link_libraries(xdg-desktop-portal-kde | 51 | target_link_libraries(xdg-desktop-portal-kde | ||
56 | ${PIPEWIRE_LIBRARIES} | 52 | PipeWire::PipeWire | ||
krop: Spa::Spa | |||||
krop: PipeWire::PipeWire | |||||
57 | ${SPA_LIBRARIES} | 53 | SPA::SPA | ||
krop: GLIB_LIBRARIES was fine (well, GLib_LIBRARIES once the file is fixed) | |||||
58 | ${GLIB_LIBRARIES} | 54 | GLIB2::GLIB2 | ||
59 | ${epoxy_LIBRARY} | 55 | ${Epoxy_LIBRARIES} | ||
60 | gbm::gbm) | 56 | GBM::GBM) | ||
krop: why ? | |||||
61 | endif() | 57 | endif() | ||
62 | 58 | | |||
63 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) | 59 | install(TARGETS xdg-desktop-portal-kde DESTINATION ${KDE_INSTALL_LIBEXECDIR}) |
Not needed for gbm, SPA and PipeWire, you created targets