aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindVPX.cmake
diff options
context:
space:
mode:
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})
-