aboutsummaryrefslogtreecommitdiff
path: root/externals/find-modules/FindOpus.cmake
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2022-12-31 14:23:38 +0100
committerAlexandre Bouvier <contact@amb.tf>2023-01-02 18:22:07 +0100
commiteceee8c3d930563e26841d556f9acb965eab67c8 (patch)
treec17a3f5362f35d7ffbcc46c881f1b656e71db81b /externals/find-modules/FindOpus.cmake
parent2b110d61e7723081b47417834085c6fa0ddfc3c6 (diff)
cmake: move find-modules to root cmake dir
Diffstat (limited to 'externals/find-modules/FindOpus.cmake')
-rw-r--r--externals/find-modules/FindOpus.cmake15
1 files changed, 0 insertions, 15 deletions
diff --git a/externals/find-modules/FindOpus.cmake b/externals/find-modules/FindOpus.cmake
deleted file mode 100644
index 25a44fd87..000000000
--- a/externals/find-modules/FindOpus.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-# SPDX-FileCopyrightText: 2022 yuzu Emulator Project
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-find_package(PkgConfig QUIET)
-pkg_search_module(OPUS QUIET IMPORTED_TARGET opus)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Opus
- REQUIRED_VARS OPUS_LINK_LIBRARIES
- VERSION_VAR OPUS_VERSION
-)
-
-if (Opus_FOUND AND NOT TARGET Opus::opus)
- add_library(Opus::opus ALIAS PkgConfig::OPUS)
-endif()