From 35114e3c0cf925c70c54b19d95c427a383233636 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Fri, 4 Oct 2024 15:51:33 +0200 Subject: [PATCH] cmake: use ALSA imported target --- rpcsx-os/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcsx-os/CMakeLists.txt b/rpcsx-os/CMakeLists.txt index c4aa07c5e..cb34369f0 100644 --- a/rpcsx-os/CMakeLists.txt +++ b/rpcsx-os/CMakeLists.txt @@ -1,5 +1,6 @@ find_package(libunwind REQUIRED) find_package(sox REQUIRED) +find_package(ALSA REQUIRED) add_library(standalone-config INTERFACE) target_include_directories(standalone-config INTERFACE orbis-kernel-config) @@ -69,7 +70,7 @@ add_executable(rpcsx-os ) target_include_directories(rpcsx-os PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) -target_link_libraries(rpcsx-os PUBLIC orbis::kernel amdgpu::bridge rx libcrypto libunwind::unwind-x86_64 xbyak::xbyak sox::sox asound) +target_link_libraries(rpcsx-os PUBLIC orbis::kernel amdgpu::bridge rx libcrypto libunwind::unwind-x86_64 xbyak::xbyak sox::sox ALSA::ALSA) target_base_address(rpcsx-os 0x0000010000000000) target_compile_options(rpcsx-os PRIVATE "-mfsgsbase")