Add support for linking against system opus
This commit is contained in:
parent
e242f16986
commit
78759d98dc
2 changed files with 5 additions and 3 deletions
6
externals/CMakeLists.txt
vendored
6
externals/CMakeLists.txt
vendored
|
@ -116,8 +116,8 @@ if (ENABLE_WEB_SERVICE)
|
|||
endif()
|
||||
|
||||
# Opus
|
||||
find_package(opus 1.3)
|
||||
if (NOT opus_FOUND)
|
||||
message(STATUS "opus 1.3 or newer not found, falling back to externals")
|
||||
if (YUZU_USE_BUNDLED_OPUS)
|
||||
add_subdirectory(opus EXCLUDE_FROM_ALL)
|
||||
else()
|
||||
find_package(opus 1.3 REQUIRED)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue