Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Line(s) | |||||
159 | set(HAVE_DL_LIBRARY FALSE) | 159 | set(HAVE_DL_LIBRARY FALSE) | ||
160 | if (epoxy_HAS_GLX) | 160 | if (epoxy_HAS_GLX) | ||
161 | find_library(DL_LIBRARY dl) | 161 | find_library(DL_LIBRARY dl) | ||
162 | if (DL_LIBRARY) | 162 | if (DL_LIBRARY) | ||
163 | set(HAVE_DL_LIBRARY TRUE) | 163 | set(HAVE_DL_LIBRARY TRUE) | ||
164 | endif() | 164 | endif() | ||
165 | endif() | 165 | endif() | ||
166 | 166 | | |||
167 | find_package(Wayland 1.2 REQUIRED COMPONENTS Cursor OPTIONAL_COMPONENTS Egl) | 167 | find_package(Wayland 1.2 REQUIRED COMPONENTS Client Cursor OPTIONAL_COMPONENTS Egl) | ||
168 | set_package_properties(Wayland PROPERTIES | 168 | set_package_properties(Wayland PROPERTIES | ||
169 | TYPE REQUIRED | 169 | TYPE REQUIRED | ||
170 | PURPOSE "Required for building KWin with Wayland support" | 170 | PURPOSE "Required for building KWin with Wayland support" | ||
171 | ) | 171 | ) | ||
172 | add_feature_info("Wayland::EGL" Wayland_Egl_FOUND "Enable building of Wayland backend and QPA with EGL support.") | 172 | add_feature_info("Wayland::EGL" Wayland_Egl_FOUND "Enable building of Wayland backend and QPA with EGL support.") | ||
173 | set(HAVE_WAYLAND_EGL FALSE) | 173 | set(HAVE_WAYLAND_EGL FALSE) | ||
174 | if (Wayland_Egl_FOUND) | 174 | if (Wayland_Egl_FOUND) | ||
175 | set(HAVE_WAYLAND_EGL TRUE) | 175 | set(HAVE_WAYLAND_EGL TRUE) | ||
▲ Show 20 Lines • Show All 438 Lines • ▼ Show 20 Line(s) | 604 | set(kwin_XCB_LIBS | |||
614 | XCB::SYNC | 614 | XCB::SYNC | ||
615 | XCB::XCB | 615 | XCB::XCB | ||
616 | XCB::XFIXES | 616 | XCB::XFIXES | ||
617 | ) | 617 | ) | ||
618 | 618 | | |||
619 | set(kwin_WAYLAND_LIBS | 619 | set(kwin_WAYLAND_LIBS | ||
620 | KF5::WaylandClient | 620 | KF5::WaylandClient | ||
621 | KF5::WaylandServer | 621 | KF5::WaylandServer | ||
622 | Wayland::Client | ||||
622 | Wayland::Cursor | 623 | Wayland::Cursor | ||
623 | XKB::XKB | 624 | XKB::XKB | ||
624 | ${CMAKE_THREAD_LIBS_INIT} | 625 | ${CMAKE_THREAD_LIBS_INIT} | ||
625 | ) | 626 | ) | ||
626 | 627 | | |||
627 | if (KWIN_BUILD_ACTIVITIES) | 628 | if (KWIN_BUILD_ACTIVITIES) | ||
628 | set(kwin_KDE_LIBS ${kwin_KDE_LIBS} KF5::Activities) | 629 | set(kwin_KDE_LIBS ${kwin_KDE_LIBS} KF5::Activities) | ||
629 | endif() | 630 | endif() | ||
▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines |