summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-05 02:32:35 +0100
committerGitHub <noreply@github.com>2022-01-05 02:32:35 +0100
commit6af82fd070790e5c6da944f9b07f3b8ca8156985 (patch)
tree8b7d501ae993d38167524021f306edf7aa467f39 /externals
parentMerge pull request #7636 from vonchenplus/buffer_queue_query (diff)
parentAdd support for linking against system opus (diff)
downloadyuzu-6af82fd070790e5c6da944f9b07f3b8ca8156985.tar
yuzu-6af82fd070790e5c6da944f9b07f3b8ca8156985.tar.gz
yuzu-6af82fd070790e5c6da944f9b07f3b8ca8156985.tar.bz2
yuzu-6af82fd070790e5c6da944f9b07f3b8ca8156985.tar.lz
yuzu-6af82fd070790e5c6da944f9b07f3b8ca8156985.tar.xz
yuzu-6af82fd070790e5c6da944f9b07f3b8ca8156985.tar.zst
yuzu-6af82fd070790e5c6da944f9b07f3b8ca8156985.zip
Diffstat (limited to 'externals')
-rw-r--r--externals/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index e9095b123..158113516 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -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