From 98e8402b9497223feccd59d1f40b4f4433f199fe Mon Sep 17 00:00:00 2001 From: Adam Kewley Date: Fri, 29 Nov 2024 14:46:12 +0100 Subject: [PATCH] Explicitly disable unused SDL3 submodules in superbuild --- third_party/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 4431cd611..61431f2a9 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -78,6 +78,13 @@ if(${OSCDEPS_GET_SDL}) -DSDL_INSTALL_CMAKEDIR:STRING=${CMAKE_INSTALL_LIBDIR}/cmake/SDL3 -DSDL_SHARED:BOOL=OFF -DSDL_STATIC:BOOL=ON + -DSDL_AUDIO:BOOL=OFF + -DSDL_GPU:BOOL=OFF + -DSDL_RENDER:BOOL=OFF + -DSDL_JOYSTICK:BOOL=OFF + -DSDL_HAPTIC:BOOL=OFF + -DSDL_POWER:BOOL=OFF + -DSDL_SENSOR:BOOL=OFF -DSDL_TEST_LIBRARY:BOOL=OFF ) endif()