aboutsummaryrefslogtreecommitdiff
path: root/CMakeModules/FindOpus.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeModules/FindOpus.cmake')
-rw-r--r--CMakeModules/FindOpus.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeModules/FindOpus.cmake b/CMakeModules/FindOpus.cmake
index 25a44fd870..5557cd1baf 100644
--- a/CMakeModules/FindOpus.cmake
+++ b/CMakeModules/FindOpus.cmake
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+# SPDX-License-Identifier: GPL-3.0-or-later
+
# SPDX-FileCopyrightText: 2022 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
@@ -10,6 +13,10 @@ find_package_handle_standard_args(Opus
VERSION_VAR OPUS_VERSION
)
+if (PLATFORM_MSYS)
+ FixMsysPath(PkgConfig::OPUS)
+endif()
+
if (Opus_FOUND AND NOT TARGET Opus::opus)
add_library(Opus::opus ALIAS PkgConfig::OPUS)
endif()