ref: 340a5520035eb722e76f69e0ffa09d72afcc9e52
parent: bdbebf9a351fe2ca1ff6fd9aeabf17440e9effae
parent: 277a0b8e733256edfa746bc8e59eb18232fa49a1
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat May 2 21:12:40 EDT 2020
Merge pull request #118 from GabrielRavier/portableAddSDL2VersionCheck CMakeLists: Add minimum version for SDL2
--- 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)