From 72bbea3caa111aef75ae353348ef8c363b83606b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 24 Dec 2025 10:35:50 +0000 Subject: [PATCH] Improve USE_SDL3 option documentation and add clarifying comment Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com> --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03ee56e..ce7e3b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ if(ENABLE_CLANG_TIDY) endif() endif() option(BUILD_SDL3_APP "Build the SDL3 Vulkan demo" ON) -option(USE_SDL3 "Use SDL3 instead of SDL2" ON) +option(USE_SDL3 "Use SDL3 instead of SDL2 for both the demo and tests" ON) set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED ON) @@ -74,6 +74,7 @@ if(BUILD_SDL3_APP) find_package(Vulkan REQUIRED) endif() +# SDL is required for both the demo app and cube_script_tests (used by audio_player) if(USE_SDL3) find_package(SDL3 CONFIG REQUIRED) set(SDL_TARGET SDL3::SDL3)