blob: a567cba9255ef7187d187e7802d204c99d7a3ed9 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 368989526c32cdf9d680a397fede3cb773fa2609 Mon Sep 17 00:00:00 2001
2From: Mike Gilbert <floppym@gentoo.org>
3Date: Fri, 28 Jul 2017 16:31:41 -0400
4Subject: [PATCH] Fix gstreamer-1.0 detection
5
6Upstream State: Backport
7
8---
9 cmake/FindGStreamer_1_0.cmake | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/cmake/FindGStreamer_1_0.cmake b/cmake/FindGStreamer_1_0.cmake
13index 3aa8fc6..6fbc0ec 100644
14--- a/cmake/FindGStreamer_1_0.cmake
15+++ b/cmake/FindGStreamer_1_0.cmake
16@@ -59,7 +59,7 @@ macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _library)
17
18 string(REGEX MATCH "(.*)>=(.*)" _dummy "${_pkgconfig_name}")
19 if ("${CMAKE_MATCH_2}" STREQUAL "")
20- pkg_check_modules(PC_${_component_prefix} "${_pkgconfig_name} >= ${GStreamer_FIND_VERSION}")
21+ pkg_check_modules(PC_${_component_prefix} "${_pkgconfig_name} >= ${GSTREAMER_1_0_MINIMUM_VERSION}")
22 else ()
23 pkg_check_modules(PC_${_component_prefix} ${_pkgconfig_name})
24 endif ()
25--
262.7.4
27