From 0d2714a1d978389b55c219e9caeb78fa237ab266 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Tue, 7 Feb 2023 05:22:15 +0100 Subject: [PATCH] FAudio cmake fix --- 3rdparty/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 4d72d9ee2a..2ad07551f2 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -229,7 +229,7 @@ if(USE_FAUDIO) "can also be displayed with SDL2 versions between 2.0.9-2.0.12, as the" "CMake config files are not correctly installed. Since a valid SDL2" ">=2.0.9 version cannot be found, building with FAudio will be skipped.") - set(USE_FAUDIO False) + set(USE_FAUDIO OFF CACHE BOOL "Disabled using system FAudio with SDL < 2.0.12" FORCE) else() message(STATUS "RPCS3: Using system FAudio") find_package(FAudio REQUIRED CONFIGS FAudioConfig.cmake FAudio-config.cmake) @@ -243,7 +243,7 @@ if(USE_FAUDIO) message(WARNING "-- RPCS3: 3rdparty FAudio requires SDL 2.24.0 or newer. Since a valid SDL2" ">=2.24.0 version cannot be found, building with FAudio will be skipped.") - set(USE_FAUDIO False) + set(USE_FAUDIO OFF CACHE BOOL "Disabled FAudio with SDL < 2.24.0" FORCE) else() message(STATUS "RPCS3: Using builtin FAudio") set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared library")