2015-05-06 15:47:07 +00:00
|
|
|
set(HWCOMPOSER_SOURCES
|
|
|
|
egl_hwcomposer_backend.cpp
|
|
|
|
hwcomposer_backend.cpp
|
|
|
|
logging.cpp
|
|
|
|
)
|
|
|
|
|
2017-09-08 20:30:18 +00:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl)
|
2015-05-06 15:47:07 +00:00
|
|
|
add_library(KWinWaylandHwcomposerBackend MODULE ${HWCOMPOSER_SOURCES})
|
2018-12-06 17:38:36 +00:00
|
|
|
set_target_properties(KWinWaylandHwcomposerBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/")
|
2015-05-06 15:47:07 +00:00
|
|
|
target_link_libraries(KWinWaylandHwcomposerBackend
|
|
|
|
kwin
|
2019-09-18 10:31:02 +00:00
|
|
|
|
|
|
|
SceneOpenGLBackend
|
|
|
|
|
2015-05-06 15:47:07 +00:00
|
|
|
libhybris::hwcomposer
|
|
|
|
libhybris::hybriseglplatform
|
2019-09-17 09:15:35 +00:00
|
|
|
libhybris::libhardware
|
2015-05-06 15:47:07 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
KWinWaylandHwcomposerBackend
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
|
|
)
|