aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindOpus.cmake
diff options
context:
space:
mode:
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>2019-05-17 14:30:02 -0700
committerLNJ <lnj@kaidan.im>2020-03-16 22:22:59 +0100
commit90036fc2cf5918c028f043edff7f5d38d1efb4cc (patch)
tree4818d8c4e6ec3778e2dd8a2e356faf1b9e062902 /cmake/modules/FindOpus.cmake
parentc67ccc6d939b8f1efd118f92baea997fe1b7f1a6 (diff)
downloadqxmpp-90036fc2cf5918c028f043edff7f5d38d1efb4cc.tar.gz
Port QXmppCallManager to use GStreamer
Diffstat (limited to 'cmake/modules/FindOpus.cmake')
-rw-r--r--cmake/modules/FindOpus.cmake25
1 files changed, 0 insertions, 25 deletions
diff --git a/cmake/modules/FindOpus.cmake b/cmake/modules/FindOpus.cmake
deleted file mode 100644
index fc13497b..00000000
--- a/cmake/modules/FindOpus.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-# Try to find Opus
-# Once done this will define
-# Opus_FOUND - System has Opus
-# Opus_INCLUDE_DIRS - The Opus include directories
-# Opus_LIBRARIES - The libraries needed to use Opus
-
-find_package(PkgConfig)
-pkg_check_modules(PC_Opus QUIET libopus)
-
-find_path(Opus_INCLUDE_DIR opus/opus.h
- HINTS ${PC_Opus_INCLUDEDIR} ${PC_Opus_INCLUDE_DIRS}
-)
-
-find_library(Opus_LIBRARY NAMES opus
- HINTS ${PC_Opus_LIBDIR} ${PC_Opus_LIBRARY_DIRS}
-)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Opus DEFAULT_MSG Opus_LIBRARY Opus_INCLUDE_DIR)
-
-mark_as_advanced(Opus_INCLUDE_DIR Opus_LIBRARY)
-
-set(Opus_LIBRARIES ${Opus_LIBRARY})
-set(Opus_INCLUDE_DIRS ${Opus_INCLUDE_DIR})
-