CMakeLists: Add minimum version for SDL2
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
bdbebf9a35
commit
277a0b8e73
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(BACKEND_PLATFORM MATCHES "SDL2" OR BACKEND_AUDIO MATCHES "SDL2")
|
||||||
if(NOT FORCE_LOCAL_LIBS)
|
if(NOT FORCE_LOCAL_LIBS)
|
||||||
find_package(SDL2)
|
find_package(SDL2 2.0.6)
|
||||||
|
|
||||||
if (PKG_CONFIG_FOUND)
|
if (PKG_CONFIG_FOUND)
|
||||||
pkg_check_modules(sdl2 QUIET IMPORTED_TARGET sdl2)
|
pkg_check_modules(sdl2 QUIET IMPORTED_TARGET sdl2)
|
||||||
|
|
Loading…
Add table
Reference in a new issue