SDL2 version check.
This commit is contained in:
parent
d4b9104abe
commit
2e6b69c8e3
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ if(ENABLE_GAME OR ENABLE_TESTS)
|
|||
else()
|
||||
# for MSVC, vcpkg builds and provides SDL2-related modules for cmake to use, so use those
|
||||
# this also fixes the issue with our previous FindSDL2* scripts incorrectly using the Release version of these libs instead of the Debug version
|
||||
find_package(SDL2 CONFIG REQUIRED)
|
||||
find_package(SDL2 2.0.8 CONFIG REQUIRED)
|
||||
find_package(sdl2-image CONFIG REQUIRED)
|
||||
find_package(sdl2-mixer CONFIG REQUIRED)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue