From 2042b54d2d0b06de0221f9e27b3aa7baa5f4aaac Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 16 Nov 2025 15:17:12 +0100 Subject: [PATCH] cmake: fix build with USE_FAUDIO if system SDL is not found --- 3rdparty/CMakeLists.txt | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 46307746a3..324069e363 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -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) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0492d13184..f459351379 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,7 +133,7 @@ if(MSVC) endif() if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8) - message( FATAL_ERROR "RPCS3 can only be compiled on 64-bit platforms." ) + message(FATAL_ERROR "RPCS3 can only be compiled on 64-bit platforms.") endif() if(APPLE AND CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")