cmake: fix build with USE_FAUDIO if system SDL is not found

This commit is contained in:
Megamouse 2025-11-16 15:17:12 +01:00
parent 5267c87ca7
commit 2042b54d2d
2 changed files with 2 additions and 2 deletions

View file

@ -278,7 +278,7 @@ if(USE_FAUDIO)
target_compile_definitions(FAudio-static INTERFACE -DHAVE_FAUDIO)
set(FAUDIO_TARGET FAudio-static)
else()
message(FATAL_ERROR
message(WARNING
"-- RPCS3: 3rdparty FAudio requires SDL 3.2.0 or newer. Since a valid SDL3"
">=3.2.0 version cannot be found, building with FAudio will be skipped.")
set(USE_FAUDIO OFF CACHE BOOL "Disabled FAudio with SDL < 3.2.0" FORCE)