plugins/drm: Link against Wayland::Server
We need to link against Wayland::Server because the EGL Streams protocol wrapper uses wl_array in its public API.
This commit is contained in:
parent
5903c5be09
commit
efb9e0edb2
2 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ if (epoxy_HAS_GLX)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
find_package(Wayland 1.2 OPTIONAL_COMPONENTS Egl)
|
||||
find_package(Wayland 1.2 REQUIRED COMPONENTS Server OPTIONAL_COMPONENTS Egl)
|
||||
set_package_properties(Wayland PROPERTIES
|
||||
TYPE REQUIRED
|
||||
PURPOSE "Required for building KWin with Wayland support"
|
||||
|
|
|
@ -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 Libdrm::Libdrm SceneQPainterBackend SceneOpenGLBackend)
|
||||
target_link_libraries(KWinWaylandDrmBackend kwin Wayland::Server Libdrm::Libdrm SceneQPainterBackend SceneOpenGLBackend)
|
||||
|
||||
if (HAVE_GBM)
|
||||
target_link_libraries(KWinWaylandDrmBackend gbm::gbm)
|
||||
|
|
Loading…
Reference in a new issue