From 78759d98dc6cf20d770e0aadc87efdc500de4359 Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Mon, 20 Dec 2021 19:20:26 -0500 Subject: Add support for linking against system opus --- externals/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'externals') 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() -- cgit v1.2.3