shithub: cstory

Download patch

ref: 3a00286890ba5bab2d1f035f3510b35b52061bc7
parent: 12b7990cf9e2a448fe7d54c4f21b85483c9cf8c2
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Oct 4 21:48:46 EDT 2020

Fix SDL2 version check

SDL2 didn't start reporting its version until recently, so this check
is pointless.

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -525,7 +525,7 @@
 
 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)