Set minimum SDL version

It was determined that the touch/mouse hints only exist in this version.
Since it's from 2019 this should be a reasonable minimum.
This commit is contained in:
sfan5 2024-02-15 10:37:24 +01:00
parent 4478b1f1ec
commit fe3e41e7ea

@ -276,7 +276,7 @@ if(ENABLE_OPENGL OR ENABLE_OPENGL3)
find_package(OpenGL REQUIRED)
endif()
if(USE_SDL2)
find_package(SDL2 CONFIG REQUIRED)
find_package(SDL2 2.0.10 CONFIG REQUIRED)
message(STATUS "Found SDL2: ${SDL2_LIBRARIES}")
endif()