build(externals): rename Findopus to FindOpus
This better matches upstream's FindOpus.cmake file, and it will make using upstream's FindOpus.cmake file easier.
This commit is contained in:
parent
064625ef58
commit
adc8c03fe4
4 changed files with 5 additions and 5 deletions
19
externals/find-modules/Findopus.cmake
vendored
19
externals/find-modules/Findopus.cmake
vendored
|
|
@ -1,19 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2022 yuzu Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
find_package(PkgConfig)
|
||||
|
||||
if (PKG_CONFIG_FOUND)
|
||||
pkg_search_module(opus IMPORTED_TARGET GLOBAL opus)
|
||||
if (opus_FOUND)
|
||||
add_library(Opus::Opus ALIAS PkgConfig::opus)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(opus
|
||||
REQUIRED_VARS
|
||||
opus_LINK_LIBRARIES
|
||||
opus_FOUND
|
||||
VERSION_VAR opus_VERSION
|
||||
)
|
||||
Reference in a new issue