Look for VAAPI availabillity during runtime

This commit is contained in:
loki
2021-06-06 18:45:45 +02:00
parent 825a706139
commit 7f636a25a8
2 changed files with 188 additions and 30 deletions

View File

@@ -107,11 +107,6 @@ else()
glad/include/KHR/khrplatform.h
glad/include/glad/gl.h
glad/include/glad/egl.h)
set(GRAPHICS_LIBRARIES
dl
va
va-drm)
set(PLATFORM_LIBRARIES
Xfixes
@@ -121,7 +116,7 @@ else()
xcb-xfixes
Xrandr
${X11_LIBRARIES}
${GRAPHICS_LIBRARIES}
dl
evdev
pulse
pulse-simple