Fix SDL2 version check

SDL2 didn't start reporting its version until recently, so this check
is pointless.
This commit is contained in:
Clownacy 2020-10-05 01:48:46 +01:00
parent 12b7990cf9
commit 3a00286890

View file

@ -525,7 +525,7 @@ endif()
if(BACKEND_PLATFORM MATCHES "SDL2" OR BACKEND_AUDIO MATCHES "SDL2")
if(NOT FORCE_LOCAL_LIBS)
find_package(SDL2 2.0.6)
find_package(SDL2)
if (PKG_CONFIG_FOUND)
pkg_check_modules(sdl2 QUIET IMPORTED_TARGET sdl2)