Merge pull request #118 from GabrielRavier/portableAddSDL2VersionCheck
CMakeLists: Add minimum version for SDL2
This commit is contained in:
commit
340a552003
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ endif()
|
|||
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue