Revert "plugins/drm: Link against Wayland::Server"

This reverts commit efb9e0edb2.

libwayland-server is now in the link interface of kwayland-server.
master
Vlad Zahorodnii 2020-09-02 19:19:04 +03:00
parent efb9e0edb2
commit 848f7f3177
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ if (epoxy_HAS_GLX)
endif()
endif()
find_package(Wayland 1.2 REQUIRED COMPONENTS Server OPTIONAL_COMPONENTS Egl)
find_package(Wayland 1.2 OPTIONAL_COMPONENTS Egl)
set_package_properties(Wayland PROPERTIES
TYPE REQUIRED
PURPOSE "Required for building KWin with Wayland support"

View File

@ -32,7 +32,7 @@ include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl)
add_library(KWinWaylandDrmBackend MODULE ${DRM_SOURCES})
set_target_properties(KWinWaylandDrmBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/")
target_link_libraries(KWinWaylandDrmBackend kwin Wayland::Server Libdrm::Libdrm SceneQPainterBackend SceneOpenGLBackend)
target_link_libraries(KWinWaylandDrmBackend kwin Libdrm::Libdrm SceneQPainterBackend SceneOpenGLBackend)
if (HAVE_GBM)
target_link_libraries(KWinWaylandDrmBackend gbm::gbm)