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)