2016-04-08 07:51:06 +00:00
|
|
|
set(X11PLATFORM_SOURCES
|
2016-04-12 12:48:54 +00:00
|
|
|
logging.cpp
|
2016-04-08 07:51:06 +00:00
|
|
|
x11_platform.cpp
|
2016-04-08 08:32:37 +00:00
|
|
|
screens_xrandr.cpp
|
2016-04-08 07:51:06 +00:00
|
|
|
)
|
|
|
|
|
2016-04-12 13:03:07 +00:00
|
|
|
if(HAVE_EPOXY_GLX)
|
|
|
|
set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} glxbackend.cpp)
|
|
|
|
endif()
|
|
|
|
|
2016-04-08 07:51:06 +00:00
|
|
|
add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES})
|
2016-04-15 07:11:30 +00:00
|
|
|
target_link_libraries(KWinX11Platform eglx11common kwin Qt5::X11Extras)
|
2016-04-08 07:51:06 +00:00
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
KWinX11Platform
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.platforms/
|
|
|
|
)
|