|
|
@ -442,15 +442,15 @@ if (YUZU_USE_CPM) |
|
|
|
|
|
|
|
|
# Opus |
|
|
# Opus |
|
|
AddJsonPackage(opus) |
|
|
AddJsonPackage(opus) |
|
|
if (NOT TARGET Opus::opus) |
|
|
|
|
|
add_library(Opus::opus ALIAS opus) |
|
|
|
|
|
endif() |
|
|
|
|
|
if (Opus_ADDED) |
|
|
if (Opus_ADDED) |
|
|
if (MSVC AND CXX_CLANG) |
|
|
if (MSVC AND CXX_CLANG) |
|
|
target_compile_options(opus PRIVATE |
|
|
target_compile_options(opus PRIVATE |
|
|
-Wno-implicit-function-declaration |
|
|
-Wno-implicit-function-declaration |
|
|
) |
|
|
) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
if (NOT TARGET Opus::opus) |
|
|
|
|
|
add_library(Opus::opus ALIAS opus) |
|
|
|
|
|
endif() |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
if (NOT TARGET Opus::opus) |
|
|
if (NOT TARGET Opus::opus) |
|
|
|