summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorAndrew Udvare <audvare@gmail.com>2021-12-21 01:20:26 +0100
committerAndrew Udvare <audvare@gmail.com>2021-12-21 11:05:23 +0100
commit78759d98dc6cf20d770e0aadc87efdc500de4359 (patch)
tree48134ef0dd91e9d41ecd2a354b9ee461b067d22b /externals
parentMerge pull request #7532 from goldenx86/patch-3 (diff)
downloadyuzu-78759d98dc6cf20d770e0aadc87efdc500de4359.tar
yuzu-78759d98dc6cf20d770e0aadc87efdc500de4359.tar.gz
yuzu-78759d98dc6cf20d770e0aadc87efdc500de4359.tar.bz2
yuzu-78759d98dc6cf20d770e0aadc87efdc500de4359.tar.lz
yuzu-78759d98dc6cf20d770e0aadc87efdc500de4359.tar.xz
yuzu-78759d98dc6cf20d770e0aadc87efdc500de4359.tar.zst
yuzu-78759d98dc6cf20d770e0aadc87efdc500de4359.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 64d1e6aec..26ead64f2 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -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()