Sfoglia il codice sorgente

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

#6778
Wohlstand 2 anni fa
parent
commit
0a1b6b270f
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      cmake/sdlchecks.cmake

+ 3 - 1
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()