1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-23 04:26:46 -05:00

Merge pull request #7610 from Tatsh/more-system-libs

Add support for linking against system Opus
This commit is contained in:
bunnei
2022-01-04 17:32:35 -08:00
committed by GitHub
2 changed files with 5 additions and 3 deletions

View File

@@ -117,10 +117,10 @@ 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()
# FFMpeg