summaryrefslogtreecommitdiffstats
path: root/externals/find-modules/FindOpus.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'externals/find-modules/FindOpus.cmake')
-rw-r--r--externals/find-modules/FindOpus.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/externals/find-modules/FindOpus.cmake b/externals/find-modules/FindOpus.cmake
index 2ba515352..25a44fd87 100644
--- a/externals/find-modules/FindOpus.cmake
+++ b/externals/find-modules/FindOpus.cmake
@@ -2,9 +2,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
find_package(PkgConfig QUIET)
-if (PKG_CONFIG_FOUND)
- pkg_search_module(OPUS QUIET IMPORTED_TARGET opus)
-endif()
+pkg_search_module(OPUS QUIET IMPORTED_TARGET opus)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Opus