[cmake] fix opus link
All checks were successful
eden-license / license-header (pull_request) Successful in 21s
All checks were successful
eden-license / license-header (pull_request) Successful in 21s
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
5d3cf78351
commit
3e56e548a6
2 changed files with 5 additions and 1 deletions
|
@ -550,6 +550,10 @@ if (YUZU_USE_CPM)
|
|||
EXCLUDE_FROM_ALL ON
|
||||
)
|
||||
|
||||
if (Opus_ADDED AND NOT TARGET Opus::opus)
|
||||
add_library(Opus::opus ALIAS opus)
|
||||
endif()
|
||||
|
||||
if(ENABLE_CUBEB)
|
||||
AddPackage(
|
||||
NAME cubeb
|
||||
|
|
|
@ -227,7 +227,7 @@ else()
|
|||
endif()
|
||||
|
||||
target_include_directories(audio_core PRIVATE ${OPUS_INCLUDE_DIRS})
|
||||
target_link_libraries(audio_core PUBLIC common core opus)
|
||||
target_link_libraries(audio_core PUBLIC common core Opus::opus)
|
||||
|
||||
if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64)
|
||||
target_link_libraries(audio_core PRIVATE dynarmic::dynarmic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue