diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 5de99ee24a..6dfd7d21a1 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -342,7 +342,9 @@ set(FAUDIO_TARGET 3rdparty_dummy_lib) if(USE_FAUDIO) # FAudio depends on SDL2 pkg_check_modules(SDL2 sdl2) - if(SDL2_FOUND) + if (NOT SDL2_FOUND OR SDL2_VERSION VERSION_LESS 2.0.9) + message("-- RPCS3: FAudio requires SDL 2.0.9 or newer.") + else() add_subdirectory(FAudio EXCLUDE_FROM_ALL) target_compile_definitions(FAudio INTERFACE -DHAVE_FAUDIO) set(FAUDIO_TARGET FAudio)