mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-12-01 18:24:24 +00:00
Provide seperate platform option to enable VDPAU
This commit is contained in:
1 parent
819503dd4d
commit
c1b06dca75
9 files changed
+34
-28
No files matched your search
+6
-7
@@ -32,20 +32,19 @@ pkg_check_modules(CEC libcec>=3.0.0)
|
||||
pkg_check_modules(EGL egl)
|
||||
pkg_check_modules(GLES glesv2)
|
||||
|
||||
set(VDPAU_FOUND FALSE)
|
||||
set(SOFTWARE_FOUND FALSE)
|
||||
|
||||
if(AVCODEC_FOUND AND AVUTIL_FOUND)
|
||||
if(EGL_FOUND AND GLES_FOUND AND XLIB_FOUND)
|
||||
set(X11_FOUND TRUE)
|
||||
if(XLIB_FOUND AND LIBVA_FOUND)
|
||||
set(VDPAU_FOUND TRUE)
|
||||
endif()
|
||||
endif()
|
||||
if(SDL_FOUND OR X11_FOUND)
|
||||
set(SOFTWARE_FOUND TRUE)
|
||||
if(XLIB_FOUND AND LIBVA_FOUND)
|
||||
set(VDPAU_FOUND TRUE)
|
||||
else()
|
||||
set(VDPAU_FOUND FALSE)
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
set(SOFTWARE_FOUND FALSE)
|
||||
endif()
|
||||
|
||||
SET(MOONLIGHT_COMMON_INCLUDE_DIR ./third_party/moonlight-common-c/src)
|
||||
|
||||
Reference in new issue
Block a user