From 38e56fcec30fac2cb7db2e62498bd045d2391922 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sat, 22 Nov 2025 10:11:13 -0500 Subject: [PATCH] Update missing openAL error --- src/sdl/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sdl/CMakeLists.txt b/src/sdl/CMakeLists.txt index 071c3b208..005206a57 100644 --- a/src/sdl/CMakeLists.txt +++ b/src/sdl/CMakeLists.txt @@ -118,7 +118,11 @@ elseif(TARGET SDL2_mixer_ext::SDL2_mixer_ext OR TARGET SDL2_mixer_ext::SDL2_mixe elseif(TARGET SDL2_mixer::SDL2_mixer OR TARGET SDL2_mixer::SDL2_mixer-static) message(STATUS "SDL2_mixer found") else() - message(FATAL_ERROR "no SDL2_mixer_ext or SDL2_mixer Found") + if(${SRB2_CONFIG_USE_OPENAL}) + message(FATAL_ERROR "no OpenAL Found") + else() + message(FATAL_ERROR "no SDL2_mixer_ext or SDL2_mixer Found") + endif() endif() #### Installation ####