Skip to content

Commit

Permalink
Disable SDL features
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Oct 13, 2024
1 parent e200f2d commit 5664713
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/sdl3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ if(SDL3_VENDORED)
set(SDL_RENDER OFF CACHE BOOL "" FORCE)
set(SDL_DIALOG OFF CACHE BOOL "" FORCE)
set(SDL_SENSOR OFF CACHE BOOL "" FORCE)
set(SDL_VULKAN OFF CACHE BOOL "" FORCE)
set(SDL_METAL OFF CACHE BOOL "" FORCE)
set(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1 CACHE STRING "" FORCE)
add_subdirectory(sdl3 EXCLUDE_FROM_ALL)
else()
Expand Down

0 comments on commit 5664713

Please sign in to comment.