Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | |||||
120 | find_package(KDecoration2 5.18.0 CONFIG REQUIRED) | 120 | find_package(KDecoration2 5.18.0 CONFIG REQUIRED) | ||
121 | 121 | | |||
122 | find_package(KScreenLocker CONFIG REQUIRED) | 122 | find_package(KScreenLocker CONFIG REQUIRED) | ||
123 | set_package_properties(KScreenLocker PROPERTIES | 123 | set_package_properties(KScreenLocker PROPERTIES | ||
124 | TYPE REQUIRED | 124 | TYPE REQUIRED | ||
125 | PURPOSE "For screenlocker integration in kwin_wayland" | 125 | PURPOSE "For screenlocker integration in kwin_wayland" | ||
126 | ) | 126 | ) | ||
127 | 127 | | |||
128 | find_package(KWaylandServer CONFIG REQUIRED) | ||||
129 | set_package_properties(KWaylandServer PROPERTIES | ||||
130 | TYPE REQUIRED | ||||
131 | PURPOSE "For screenlocker integration in kwin_wayland" | ||||
zzag: Well, we need it to make the wayland session work. | |||||
132 | ) | ||||
133 | | ||||
128 | find_package(Breeze 5.9.0 CONFIG) | 134 | find_package(Breeze 5.9.0 CONFIG) | ||
129 | set_package_properties(Breeze PROPERTIES | 135 | set_package_properties(Breeze PROPERTIES | ||
130 | TYPE OPTIONAL | 136 | TYPE OPTIONAL | ||
131 | PURPOSE "For setting the default window decoration plugin" | 137 | PURPOSE "For setting the default window decoration plugin" | ||
132 | ) | 138 | ) | ||
133 | if (${Breeze_FOUND}) | 139 | if (${Breeze_FOUND}) | ||
134 | if (${BREEZE_WITH_KDECORATION}) | 140 | if (${BREEZE_WITH_KDECORATION}) | ||
135 | set(HAVE_BREEZE_DECO true) | 141 | set(HAVE_BREEZE_DECO true) | ||
▲ Show 20 Lines • Show All 494 Lines • ▼ Show 20 Line(s) | 627 | set(kwin_XCB_LIBS | |||
630 | XCB::SHM | 636 | XCB::SHM | ||
631 | XCB::SYNC | 637 | XCB::SYNC | ||
632 | XCB::XCB | 638 | XCB::XCB | ||
633 | XCB::XFIXES | 639 | XCB::XFIXES | ||
634 | ) | 640 | ) | ||
635 | 641 | | |||
636 | set(kwin_WAYLAND_LIBS | 642 | set(kwin_WAYLAND_LIBS | ||
637 | KF5::WaylandClient | 643 | KF5::WaylandClient | ||
638 | KF5::WaylandServer | 644 | Plasma::KWaylandServer | ||
I feel like it should be KWaylandServer::KWaylandServer but we can revisit it. zzag: I feel like it should be KWaylandServer::KWaylandServer but we can revisit it. | |||||
639 | Wayland::Cursor | 645 | Wayland::Cursor | ||
640 | XKB::XKB | 646 | XKB::XKB | ||
641 | ${CMAKE_THREAD_LIBS_INIT} | 647 | ${CMAKE_THREAD_LIBS_INIT} | ||
642 | ) | 648 | ) | ||
643 | 649 | | |||
644 | if (KWIN_BUILD_ACTIVITIES) | 650 | if (KWIN_BUILD_ACTIVITIES) | ||
645 | set(kwin_KDE_LIBS ${kwin_KDE_LIBS} KF5::Activities) | 651 | set(kwin_KDE_LIBS ${kwin_KDE_LIBS} KF5::Activities) | ||
646 | endif() | 652 | endif() | ||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |
Well, we need it to make the wayland session work.