kwin/backends/CMakeLists.txt
Martin Gräßlin a055e2de82 Only compile VirtualTerminal if libinput is found
The implementation of VirtualTerminal is too linux specific and doesn't
compile on e.g. freebsd. Currently the most usage is in combination with
libinput. Only usage is:
* libinput related functionality in InputRedirection
* backends without custom input handling

Thus binding the feature to whether libinput is available is currently
the least invasive approach to get it compile on non-Linux.

In the long run this needs a different solution. The functionality
provided by VirtualTerminal is required and without the backends don't
work. It's needed to get notified about VT switches, when KWin needs to
stop rendering. So a solution for non-Linux needs to be found if
non-Linux wants to provide Wayland in future.

REVIEW: 126182
2015-12-01 07:57:39 +01:00

14 lines
286 B
CMake

if(HAVE_INPUT)
if(HAVE_DRM)
add_subdirectory(drm)
endif()
add_subdirectory(fbdev)
if(HAVE_LIBHYBRIS)
add_subdirectory(hwcomposer)
endif()
endif()
add_subdirectory(virtual)
add_subdirectory(wayland)
if(X11_XCB_FOUND)
add_subdirectory(x11)
endif()