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

#6778
main
Wohlstand 2023-11-08 13:33:56 +03:00 committed by Sam Lantinga
parent 80b2bbad21
commit 0a1b6b270f
1 changed files with 3 additions and 1 deletions

View File

@ -307,7 +307,9 @@ macro(CheckX11)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/x11/*.c")
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)
set(SDL_X11_SHARED OFF)
endif()