Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/CMakeLists.txt
Show All 26 Lines | 26 | set(DRM_SOURCES ${DRM_SOURCES} | |||
---|---|---|---|---|---|
27 | egl_stream_backend.cpp | 27 | egl_stream_backend.cpp | ||
28 | ) | 28 | ) | ||
29 | endif() | 29 | endif() | ||
30 | 30 | | |||
31 | include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl) | 31 | include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl) | ||
32 | 32 | | |||
33 | add_library(KWinWaylandDrmBackend MODULE ${DRM_SOURCES}) | 33 | add_library(KWinWaylandDrmBackend MODULE ${DRM_SOURCES}) | ||
34 | set_target_properties(KWinWaylandDrmBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/") | 34 | set_target_properties(KWinWaylandDrmBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/") | ||
35 | target_link_libraries(KWinWaylandDrmBackend kwin Libdrm::Libdrm SceneQPainterBackend SceneOpenGLBackend) | 35 | target_link_libraries(KWinWaylandDrmBackend kwinwl Libdrm::Libdrm SceneQPainterBackend SceneOpenGLBackend) | ||
36 | 36 | | |||
37 | if (HAVE_GBM) | 37 | if (HAVE_GBM) | ||
38 | target_link_libraries(KWinWaylandDrmBackend gbm::gbm) | 38 | target_link_libraries(KWinWaylandDrmBackend gbm::gbm) | ||
39 | endif() | 39 | endif() | ||
40 | 40 | | |||
41 | install( | 41 | install( | ||
42 | TARGETS | 42 | TARGETS | ||
43 | KWinWaylandDrmBackend | 43 | KWinWaylandDrmBackend | ||
44 | DESTINATION | 44 | DESTINATION | ||
45 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/ | 45 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/ | ||
46 | ) | 46 | ) |