1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

system faudio fix

This commit is contained in:
p01arst0rm 2021-07-12 11:14:14 +01:00 committed by Megamouse
parent 0502f7881f
commit 3a026a7dc3

View File

@ -223,7 +223,8 @@ add_subdirectory(OpenAL EXCLUDE_FROM_ALL)
set(FAUDIO_TARGET 3rdparty_dummy_lib)
if(USE_FAUDIO)
if (USE_SYSTEM_FAUDIO)
find_package(FAudio)
find_package(FAudio-config)
target_compile_definitions(FAudio INTERFACE -DHAVE_FAUDIO)
set(FAUDIO_TARGET FAudio)
else()
# FAudio depends on SDL2