diff --git a/.gitmodules b/.gitmodules index e15f953e2..d787a77aa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,3 @@ -[submodule "third-party/SDL"] - path = third-party/SDL - url = https://github.com/libsdl-org/SDL - shallow = true [submodule "third-party/fmt"] path = third-party/fmt url = https://github.com/fmtlib/fmt.git @@ -55,3 +51,6 @@ [submodule "externals/zlib-ng-win"] path = externals/zlib-ng-win url = https://github.com/shadps4-emu/ext-zlib-ng-win.git +[submodule "externals/sdl3"] + path = externals/sdl3 + url = https://github.com/shadps4-emu/ext-SDL.git diff --git a/externals/sdl3 b/externals/sdl3 new file mode 160000 index 000000000..495e432fb --- /dev/null +++ b/externals/sdl3 @@ -0,0 +1 @@ +Subproject commit 495e432fb9776fdc13a8d96179136064ccddf6e5 diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index 2c9f843fb..8acf2406f 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -12,11 +12,6 @@ add_subdirectory(fmt EXCLUDE_FROM_ALL) # MagicEnum add_subdirectory(magic_enum EXCLUDE_FROM_ALL) -if(NOT ENABLE_QT_GUI) -# SDL3 -add_subdirectory(SDL EXCLUDE_FROM_ALL) -endif() - # Toml11 add_subdirectory(toml11 EXCLUDE_FROM_ALL) diff --git a/third-party/SDL b/third-party/SDL deleted file mode 160000 index 27556e098..000000000 --- a/third-party/SDL +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 27556e098ecce54014ed1fc11c1e974ffdf4bc93