Remove redundant match expression

This commit is contained in:
Cameron Gutman
2021-09-18 09:25:56 -05:00
parent d58d8f70e8
commit 81322a2b91

View File

@@ -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()