shithub: cstory

Download patch

ref: 277a0b8e733256edfa746bc8e59eb18232fa49a1
parent: bdbebf9a351fe2ca1ff6fd9aeabf17440e9effae
author: Gabriel Ravier <gabravier@gmail.com>
date: Thu Apr 30 20:19:12 EDT 2020

CMakeLists: Add minimum version for SDL2

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -498,7 +498,7 @@
 
 if(BACKEND_PLATFORM MATCHES "SDL2" OR BACKEND_AUDIO MATCHES "SDL2")
 	if(NOT FORCE_LOCAL_LIBS)
-		find_package(SDL2)
+		find_package(SDL2 2.0.6)
 
 		if (PKG_CONFIG_FOUND)
 			pkg_check_modules(sdl2 QUIET IMPORTED_TARGET sdl2)