From 2222d4e25c23730176910a95fa5b8210199baaf5 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Tue, 15 Aug 2023 02:08:50 +0200 Subject: [PATCH] cmake: fix sox linking (#49) --- orbis-kernel/CMakeLists.txt | 2 +- rpcsx-os/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/orbis-kernel/CMakeLists.txt b/orbis-kernel/CMakeLists.txt index b21b3659f..c4f8f453b 100644 --- a/orbis-kernel/CMakeLists.txt +++ b/orbis-kernel/CMakeLists.txt @@ -68,7 +68,7 @@ add_library(obj.orbis-kernel OBJECT src/utils/Logs.cpp ) -target_link_libraries(obj.orbis-kernel PUBLIC orbis::kernel::config $) +target_link_libraries(obj.orbis-kernel PUBLIC orbis::kernel::config $ sox) target_include_directories(obj.orbis-kernel PUBLIC diff --git a/rpcsx-os/CMakeLists.txt b/rpcsx-os/CMakeLists.txt index 221fafc0b..a79f94f92 100644 --- a/rpcsx-os/CMakeLists.txt +++ b/rpcsx-os/CMakeLists.txt @@ -32,7 +32,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 libcrypto unwind unwind-x86_64 xbyak sox) +target_link_libraries(rpcsx-os PUBLIC orbis::kernel amdgpu::bridge libcrypto unwind unwind-x86_64 xbyak) target_link_options(rpcsx-os PUBLIC "LINKER:-Ttext-segment,0x0000010000000000") target_compile_options(rpcsx-os PRIVATE "-march=native")