aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindVPX.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/FindVPX.cmake
parentc67ccc6d939b8f1efd118f92baea997fe1b7f1a6 (diff)
downloadqxmpp-90036fc2cf5918c028f043edff7f5d38d1efb4cc.tar.gz
Port QXmppCallManager to use GStreamer
Diffstat (limited to 'cmake/modules/FindVPX.cmake')
-rw-r--r--cmake/modules/FindVPX.cmake25
1 files changed, 0 insertions, 25 deletions
diff --git a/cmake/modules/FindVPX.cmake b/cmake/modules/FindVPX.cmake
deleted file mode 100644
index 8c60a555..00000000
--- a/cmake/modules/FindVPX.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-# Try to find VPX
-# Once done this will define
-# VPX_FOUND - System has VPX
-# VPX_INCLUDE_DIRS - The VPX include directories
-# VPX_LIBRARIES - The libraries needed to use VPX
-
-find_package(PkgConfig)
-pkg_check_modules(PC_VPX QUIET libvpx)
-
-find_path(VPX_INCLUDE_DIR vpx/vp8.h
- HINTS ${PC_VPX_INCLUDEDIR} ${PC_VPX_INCLUDE_DIRS}
-)
-
-find_library(VPX_LIBRARY NAMES vpx
- HINTS ${PC_VPX_LIBDIR} ${PC_VPX_LIBRARY_DIRS}
-)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(VPX DEFAULT_MSG VPX_LIBRARY VPX_INCLUDE_DIR)
-
-mark_as_advanced(VPX_INCLUDE_DIR VPX_LIBRARY)
-
-set(VPX_LIBRARIES ${VPX_LIBRARY})
-set(VPX_INCLUDE_DIRS ${VPX_INCLUDE_DIR})
-