summaryrefslogtreecommitdiffstats
path: root/cmake/platform/linux/gbm.cmake
blob: 5e0475a67c2dd433f3514d44ea21a557820a0c67 (plain)
1
2
3
4
5
6
7
8
list(APPEND PLATFORM_REQUIRED_DEPS GBM LibDRM LibInput Xkbcommon UDEV)
list(APPEND PLATFORM_OPTIONAL_DEPS VAAPI)

if(APP_RENDER_SYSTEM STREQUAL "gl")
  list(APPEND PLATFORM_REQUIRED_DEPS OpenGl EGL)
elseif(APP_RENDER_SYSTEM STREQUAL "gles")
  list(APPEND PLATFORM_REQUIRED_DEPS OpenGLES EGL)
endif()