summaryrefslogtreecommitdiffstats
path: root/cmake/platform/linux/x11.cmake
blob: 5f5b8c2f997d176b16e78fd444b78905ca187810 (plain)
1
2
3
4
5
6
7
8
9
list(APPEND PLATFORM_REQUIRED_DEPS EGL X XRandR LibDRM)
list(APPEND PLATFORM_OPTIONAL_DEPS VAAPI)

if(APP_RENDER_SYSTEM STREQUAL "gl")
  list(APPEND PLATFORM_REQUIRED_DEPS OpenGl)
  list(APPEND PLATFORM_OPTIONAL_DEPS GLX VDPAU)
elseif(APP_RENDER_SYSTEM STREQUAL "gles")
  list(APPEND PLATFORM_REQUIRED_DEPS OpenGLES)
endif()