kwin/plugins/platforms/hwcomposer/CMakeLists.txt
Vlad Zahorodnii 6adfe3064f Drop Platform::createScreens()
Since the Screens class is a convenience wrapper around AbstractOutput
objects that come from the Platform, it should not be platform-specific.

By dropping createScreens(), output-related code becomes simpler.
2020-12-21 09:20:16 +00:00

25 lines
696 B
CMake

set(HWCOMPOSER_SOURCES
egl_hwcomposer_backend.cpp
hwcomposer_backend.cpp
logging.cpp
)
include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl)
add_library(KWinWaylandHwcomposerBackend MODULE ${HWCOMPOSER_SOURCES})
set_target_properties(KWinWaylandHwcomposerBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/")
target_link_libraries(KWinWaylandHwcomposerBackend
kwin
SceneOpenGLBackend
libhybris::hwcomposer
libhybris::hybriseglplatform
libhybris::libhardware
)
install(
TARGETS
KWinWaylandHwcomposerBackend
DESTINATION
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
)