mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Remove redundant match expression
This commit is contained in:
@@ -27,10 +27,10 @@ option(ENABLE_PULSE "Compile PulseAudio support" ON)
|
||||
|
||||
pkg_check_modules(EVDEV REQUIRED libevdev)
|
||||
pkg_check_modules(UDEV REQUIRED libudev)
|
||||
if (ENABLE_SDL MATCHES ON)
|
||||
if (ENABLE_SDL)
|
||||
pkg_check_modules(SDL sdl2>=2.0.4)
|
||||
endif()
|
||||
if (ENABLE_FFMPEG MATCHES ON)
|
||||
if (ENABLE_FFMPEG)
|
||||
pkg_check_modules(AVCODEC libavcodec)
|
||||
pkg_check_modules(AVUTIL libavutil)
|
||||
pkg_check_modules(VDPAU vdpau)
|
||||
@@ -38,15 +38,15 @@ if (ENABLE_FFMPEG MATCHES ON)
|
||||
pkg_check_modules(EGL egl)
|
||||
pkg_check_modules(GLES glesv2)
|
||||
|
||||
if (ENABLE_X11 MATCHES ON)
|
||||
if (ENABLE_X11)
|
||||
pkg_check_modules(XLIB x11)
|
||||
pkg_check_modules(LIBVA_X11 libva-x11)
|
||||
endif()
|
||||
endif()
|
||||
if (ENABLE_PULSE MATCHES ON)
|
||||
if (ENABLE_PULSE)
|
||||
pkg_check_modules(PULSE libpulse-simple)
|
||||
endif()
|
||||
if (ENABLE_CEC MATCHES ON)
|
||||
if (ENABLE_CEC)
|
||||
pkg_check_modules(CEC libcec>=4)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user