kwin/plugins/platforms/CMakeLists.txt
Tobias C. Berner a512f54924 Hide the Linux specific parts behind check for headers
Summary:
Only build
  * `virtual_terminal.cpp` in the presence of `linux/vt.h`
  * `fbdev`-backend in the precense of `linux/fb.h`

Test Plan:

Reviewers: #kwin, #freebsd, graesslin, bcooksley

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D6847
2017-07-24 16:19:27 +02:00

14 lines
297 B
CMake

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