5d946e3762
Let's rather not build the plugin if we don't have the dependency then building it without OpenGL support. Simplifies the code a bit and makes the backend overall more useful and goes along with e.g. the Wayland one which has EGL also as a hard dependency for the plugin. REVIEW: 124697
11 lines
209 B
CMake
11 lines
209 B
CMake
if(HAVE_DRM)
|
|
add_subdirectory(drm)
|
|
endif()
|
|
add_subdirectory(fbdev)
|
|
if(HAVE_LIBHYBRIS)
|
|
add_subdirectory(hwcomposer)
|
|
endif()
|
|
add_subdirectory(wayland)
|
|
if(X11_XCB_FOUND)
|
|
add_subdirectory(x11)
|
|
endif()
|