From 0a1b6b270f2048bbf777b70122aa7600561bc6e9 Mon Sep 17 00:00:00 2001
From: Wohlstand <[EMAIL REDACTED]>
Date: Wed, 8 Nov 2023 13:33:56 +0300
Subject: [PATCH] sdlchecks.cmake: Clarified the reason why shared X11 mode
doesn't work
#6778
---
cmake/sdlchecks.cmake | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
index e6beb747467a..f4723b312d08 100644
--- a/cmake/sdlchecks.cmake
+++ b/cmake/sdlchecks.cmake
@@ -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()