Merge branch 'disable-sdl-macos'
Disable the use of SDL under macOS, it doesn't compile nor is needed there. See https://github.com/wxWidgets/wxWidgets/pull/1217
This commit is contained in:
@@ -362,7 +362,7 @@ if(wxUSE_GUI)
|
||||
set(wxUSE_GSTREAMER_PLAYER OFF)
|
||||
endif()
|
||||
|
||||
if(wxUSE_SOUND AND UNIX AND wxUSE_LIBSDL)
|
||||
if(wxUSE_SOUND AND wxUSE_LIBSDL AND UNIX AND NOT APPLE)
|
||||
find_package(SDL2)
|
||||
if(NOT SDL2_FOUND)
|
||||
find_package(SDL)
|
||||
|
2
configure
vendored
2
configure
vendored
@@ -34514,7 +34514,7 @@ fi
|
||||
|
||||
WITH_PLUGIN_SDL=0
|
||||
if test "$wxUSE_SOUND" = "yes"; then
|
||||
if test "$USE_UNIX" = 1 ; then
|
||||
if test "$USE_UNIX" = 1 -a "$USE_MAC" != 1 ; then
|
||||
if test "$wxUSE_LIBSDL" != "no"; then
|
||||
|
||||
pkg_failed=no
|
||||
|
@@ -5560,7 +5560,7 @@ fi
|
||||
|
||||
WITH_PLUGIN_SDL=0
|
||||
if test "$wxUSE_SOUND" = "yes"; then
|
||||
if test "$USE_UNIX" = 1 ; then
|
||||
if test "$USE_UNIX" = 1 -a "$USE_MAC" != 1 ; then
|
||||
if test "$wxUSE_LIBSDL" != "no"; then
|
||||
PKG_CHECK_MODULES([SDL], [sdl2 >= 2.0.0],
|
||||
[
|
||||
|
Reference in New Issue
Block a user