mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
support building with system faudio 21.08+ (#10708)
This commit is contained in:
parent
aa48bd91f4
commit
24d7374a22
2
3rdparty/CMakeLists.txt
vendored
2
3rdparty/CMakeLists.txt
vendored
@ -234,7 +234,7 @@ if(USE_FAUDIO)
|
|||||||
else()
|
else()
|
||||||
if (USE_SYSTEM_FAUDIO)
|
if (USE_SYSTEM_FAUDIO)
|
||||||
message(STATUS "RPCS3: Using system FAudio")
|
message(STATUS "RPCS3: Using system FAudio")
|
||||||
find_package(FAudio REQUIRED CONFIGS FAudio-config.cmake)
|
find_package(FAudio REQUIRED CONFIGS FAudioConfig.cmake FAudio-config.cmake)
|
||||||
add_library(3rdparty_FAudio INTERFACE)
|
add_library(3rdparty_FAudio INTERFACE)
|
||||||
target_link_libraries(3rdparty_FAudio INTERFACE FAudio)
|
target_link_libraries(3rdparty_FAudio INTERFACE FAudio)
|
||||||
target_compile_definitions(3rdparty_FAudio INTERFACE -DHAVE_FAUDIO)
|
target_compile_definitions(3rdparty_FAudio INTERFACE -DHAVE_FAUDIO)
|
||||||
|
Loading…
Reference in New Issue
Block a user