sdlchecks.cmake: Clarified the reason why shared X11 mode doesn't work

#6778
This commit is contained in:
Wohlstand 2023-11-08 13:31:12 +03:00 committed by Sam Lantinga
parent 7e11bd1ac1
commit f9baa30270

View file

@ -471,7 +471,9 @@ macro(CheckX11)
list(APPEND SOURCE_FILES ${X11_SOURCES}) list(APPEND SOURCE_FILES ${X11_SOURCES})
set(SDL_VIDEO_DRIVER_X11 1) set(SDL_VIDEO_DRIVER_X11 1)
# !!! FIXME: why is this disabled for Apple? # Note: Disabled on Apple because the dynamic mode backend for X11 doesn't
# work properly on Apple during several issues like inconsistent paths
# among platforms. See #6778 (https://github.com/libsdl-org/SDL/issues/6778)
if(APPLE) if(APPLE)
set(SDL_X11_SHARED OFF) set(SDL_X11_SHARED OFF)
endif() endif()