From 5664713995b652742b801829097b06cd7e314073 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Sun, 13 Oct 2024 21:23:54 +0200 Subject: [PATCH] Disable SDL features --- ext/sdl3.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/sdl3.cmake b/ext/sdl3.cmake index 03d8e7ba..1533a7a6 100644 --- a/ext/sdl3.cmake +++ b/ext/sdl3.cmake @@ -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()