mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-17 16:34:34 +00:00
SDL2 mixer and image don't have cmake versions.
This commit is contained in:
parent
d0539b7581
commit
d78fb5990f
|
@ -483,8 +483,8 @@ if(ENABLE_GAME OR ENABLE_TESTS)
|
|||
# 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 2.0.8 CONFIG REQUIRED)
|
||||
find_package(sdl2-image 2.0.2 CONFIG REQUIRED)
|
||||
find_package(sdl2-mixer 2.0.0 CONFIG REQUIRED)
|
||||
find_package(sdl2-image CONFIG REQUIRED)
|
||||
find_package(sdl2-mixer CONFIG REQUIRED)
|
||||
endif()
|
||||
pkg_check_modules(CAIRO REQUIRED cairo>=1.10)
|
||||
pkg_check_modules(PANGOCAIRO REQUIRED pangocairo>=1.22.0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user